From 4f10744919854b8f2c7e8bc2a94e44d79cee1346 Mon Sep 17 00:00:00 2001 From: Johanna England Date: Tue, 7 May 2024 14:10:37 +0200 Subject: [PATCH] Use typing.Dict for typing instead of dict --- tests/integration/conftest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py index 4d479fb0a5..611f40fb32 100644 --- a/tests/integration/conftest.py +++ b/tests/integration/conftest.py @@ -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()