Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech authored Oct 24, 2023
1 parent 5d6fb3e commit 629acf5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/python/pyflyby/_autoimp.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ def _remove_from_missing_imports(self, fullname):
# - tests.test_autoimp.test_method_reference_current_class
# - tests.test_autoimp.test_find_missing_imports_class_name_1
# - tests.test_autoimp.test_scan_for_import_issues_class_defined_after_use
inside_class = missing_import[1].scope_info.get('_in_class_def')
# inside_class = missing_import[1].scope_info.get('_in_class_def')
if missing_import[1].startswith(fullname):
self.missing_imports.remove(missing_import)

Expand Down
2 changes: 1 addition & 1 deletion tests/test_cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -787,5 +787,5 @@ class A:
class B:
param1: str
""").strip().format()
""").strip()
assert result == expected

0 comments on commit 629acf5

Please sign in to comment.