chore: avoid importing TYPE_CHECKING (#2864)

Assisted-by: OpenCode:glm-5.1

Signed-off-by: Henry Schreiner <henryfs@princeton.edu>
This commit is contained in:
Henry Schreiner
2026-05-18 20:10:51 -07:00
committed by GitHub
parent 525f538878
commit a7b3f178c3
6 changed files with 8 additions and 5 deletions
+1
View File
@@ -231,6 +231,7 @@ flake8-annotations.mypy-init-return = true
"typing.Iterator".msg = "Use collections.abc.Iterator instead."
"typing.Sequence".msg = "Use collections.abc.Sequence instead."
"typing.Set".msg = "Use collections.abc.Set instead."
"typing.TYPE_CHECKING".msg = "Use TYPE_CHECKING=False instead"
[tool.ruff.lint.per-file-ignores]
"unit_test/*" = ["PLC1901", "TID252"]