Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
Jannis-Mittenzwei committed Sep 17, 2024
1 parent 5f41253 commit 06d6594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exasol/toolbox/nox/_dependencies_check.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ class DependenciesCheck:
ILLEGAL_DEPENDENCIES = ['url', 'git', 'path']

def __init__(self, pyproject_toml: str):
self.illegal_dict: Dict[str, List[str]] | None = None
self.illegal_dict: Dict[str, List[str]] = {}
self.content = pyproject_toml

def parse(self) -> "DependenciesCheck":
Expand Down Expand Up @@ -80,5 +80,5 @@ def report_illegal(self, console: rich.console.Console):
else:
console.print("Success: All dependencies refer to explicit pipy releases.", style="green")

def illegal(self) -> Dict[str, List[str]] | None:
def illegal(self) -> Dict[str, List[str]]:
return self.illegal_dict

0 comments on commit 06d6594

Please sign in to comment.