Skip to content

Commit

Permalink
Fixed linting.
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsAsplund committed May 29, 2024
1 parent 3032da0 commit 11a3620
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions vunit/check_preprocessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ def even_quotes(code):
return (n_quotes % 2) == 0

code_section = Token.NORMAL
next_code_section = Token.NORMAL
level = 1
index = 0
for char in code:
Expand Down
2 changes: 2 additions & 0 deletions vunit/dependency_graph.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,8 @@ def visit(node):
callback(node)

visited: Set[T] = set()
path: Set[T] = set()
path_ordered: List[T] = []
for node in nodes:
if node not in visited:
path: Set[T] = set()
Expand Down

0 comments on commit 11a3620

Please sign in to comment.