Skip to content

Commit

Permalink
Black run
Browse files Browse the repository at this point in the history
  • Loading branch information
bart1e committed Feb 19, 2023
1 parent 0a9072d commit db220ff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion slither/detectors/statements/unused_imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,11 @@ def _find_contract_level_functions_and_modifiers_uses(self, c: Contract) -> None
for f in fm.functions_shadowed:
references -= set(f.references)
for ref in references:
self._add_import(self.needed_imports, ref.filename.absolute, fm.source_mapping.filename.absolute)
self._add_import(
self.needed_imports,
ref.filename.absolute,
fm.source_mapping.filename.absolute,
)

def _find_contract_level_custom_events_uses(self, c: Contract) -> None:
"""
Expand Down

0 comments on commit db220ff

Please sign in to comment.