Skip to content

Commit 06d6594

Browse files
fix type error
1 parent 5f41253 commit 06d6594

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

exasol/toolbox/nox/_dependencies_check.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class DependenciesCheck:
2727
ILLEGAL_DEPENDENCIES = ['url', 'git', 'path']
2828

2929
def __init__(self, pyproject_toml: str):
30-
self.illegal_dict: Dict[str, List[str]] | None = None
30+
self.illegal_dict: Dict[str, List[str]] = {}
3131
self.content = pyproject_toml
3232

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

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

0 commit comments

Comments
 (0)