Skip to content

Commit

Permalink
Remove comments and linter reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
nisedo committed Feb 17, 2025
1 parent 02a403f commit eeca00e
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions slither/printers/summary/entry_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,9 @@ def output(self, _filename) -> Output:
for f in sorted(
entry_points,
key=lambda x: (
x.contract_declarer != contract, # Non-inherited first
x.contract_declarer.name
if x.contract_declarer != contract
else "", # Then by parent contract name
x.visibility != "external", # Keep existing sorting criteria
x.contract_declarer != contract,

Check warning on line 64 in slither/printers/summary/entry_points.py

View workflow job for this annotation

GitHub Actions / Lint Code Base

W0640: Cell variable contract defined in loop (cell-var-from-loop)
x.contract_declarer.name if x.contract_declarer != contract else "",

Check warning on line 65 in slither/printers/summary/entry_points.py

View workflow job for this annotation

GitHub Actions / Lint Code Base

W0640: Cell variable contract defined in loop (cell-var-from-loop)
x.visibility != "external",
x.visibility != "public",
x.full_name,
),
Expand Down

0 comments on commit eeca00e

Please sign in to comment.