Skip to content

Commit

Permalink
fixed bugs from the workshop!
Browse files Browse the repository at this point in the history
  • Loading branch information
faculerena committed Jul 12, 2024
1 parent ee662c7 commit 215819c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/stacy_analyzer/detectors/UnusedArguments.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,5 @@ def visit_node(self, node: Node, i):
self.HELP = None
self.FOOTNOTE = f"Consider removing '{k}' since its not used inside the function."
self.add_finding(v, v)

self.arguments = {}
2 changes: 2 additions & 0 deletions src/stacy_analyzer/detectors/UnusedLetVariables.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ def visit_node(self, node: Node, i):
self.FOOTNOTE = f"Consider removing '{k}' from let function since its not used."
self.add_finding(v, v)

self.arguments = {}

0 comments on commit 215819c

Please sign in to comment.