Skip to content

Commit

Permalink
Merge pull request #2900 from johannaengland/bugfix/fix-typing-dict
Browse files Browse the repository at this point in the history
Use typing.Dict for typing in conftest
  • Loading branch information
johannaengland authored May 15, 2024
2 parents 30ba222 + 4f10744 commit cf75409
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ def _nav_scripts_map() -> Dict[str, str]:
pyproject.toml.
"""
data = toml.load('pyproject.toml')
scripts: dict[str, str] = data.get('project', {}).get('scripts', {})
scripts: Dict[str, str] = data.get('project', {}).get('scripts', {})
return {
script: module.split(':', maxsplit=1)[0]
for script, module in scripts.items()
Expand Down

0 comments on commit cf75409

Please sign in to comment.