Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
0xalpharush committed Jun 5, 2024
1 parent 7397483 commit 91d5f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion slither/detectors/statements/unused_import.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class UnusedImport(AbstractDetector):
)

@staticmethod
def _is_import_container(scope: FileScope) -> bool:
def _is_import_container(scope: FileScope) -> bool: # pylint: disable=too-many-branches
"""
Returns True if a given file (provided as a `FileScope` object) contains only `import` directives (and pragmas).
Such a file doesn't need the imports it contains, but its purpose is to aggregate certain correlated imports.
Expand Down

0 comments on commit 91d5f89

Please sign in to comment.