chore: type the test fixtures mypy rejected

This commit is contained in:
Abdessamad Derraz committed 2026-11-21 14:58:03 +01:00
1 parent f77caa1885
commit 7f19ff2ceb
3 files changed
+9 -5

No files matched your search

+2
View File
@@ -182,6 +182,8 @@ def find_cycle(nodes: set[str], edges: dict[str, set[str]]) -> list[str] | None:
class ImportLayers(unittest.TestCase):
graph: Graph
@classmethod
def setUpClass(cls) -> None:
cls.graph = Graph()