Skip to content

Commit

Permalink
Remove unnecessary parentheses around assert. (#133)
Browse files Browse the repository at this point in the history
This makes newer flake8 happy.

Signed-off-by: Chris Lalancette <clalancette@gmail.com>
  • Loading branch information
clalancette authored Jan 26, 2024
1 parent d13f31f commit e0f21d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/python_qt_binding/binding_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def _register_binding_module(module_name, module):

def _named_import(name):
parts = name.split('.')
assert(len(parts) >= 2)
assert len(parts) >= 2
module = builtins.__import__(name)
for m in parts[1:]:
module = module.__dict__[m]
Expand Down

0 comments on commit e0f21d1

Please sign in to comment.