From 83b2a9fb46626c88e194a94fe1f81a5c50502646 Mon Sep 17 00:00:00 2001 From: davidvujic Date: Thu, 5 Oct 2023 21:55:16 +0200 Subject: [PATCH] fix(typings): Python 3.8 defaultdict --- components/polylith/poetry/commands/check.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/polylith/poetry/commands/check.py b/components/polylith/poetry/commands/check.py index eba23259..4d71ed00 100644 --- a/components/polylith/poetry/commands/check.py +++ b/components/polylith/poetry/commands/check.py @@ -1,6 +1,6 @@ from collections import defaultdict from pathlib import Path -from typing import List, Set, Union +from typing import DefaultDict, List, Set, Union from cleo.helpers import option from poetry.console.commands.command import Command @@ -26,7 +26,7 @@ def packages_distributions( poetry: Poetry, path: Union[Path, None] -) -> defaultdict[str, List[str]]: +) -> DefaultDict[str, List[str]]: project_poetry = Factory().create_poetry(path) if path else poetry env = EnvManager(project_poetry).get()