Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
charles-cooper committed Dec 13, 2024
1 parent a140226 commit 99f0af2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vyper/semantics/analysis/imports.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ def _load_import(
def _load_file(self, path: PathLike, level: int) -> CompilerInput:
ast = self.graph.current_module

search_paths: list[PathLike] # help mypy
if level != 0: # relative import
search_paths = [Path(ast.resolved_path).parent]
else:
Expand Down

0 comments on commit 99f0af2

Please sign in to comment.