Skip to content

Commit fa63e60

Browse files
chore(internal): enable ruff type checking misuse lint rule (#1106)
This catches the case where a typing import is used at runtime
1 parent 455bc9f commit fa63e60

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pyproject.toml

+2
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,8 @@ select = [
147147
# print statements
148148
"T201",
149149
"T203",
150+
# misuse of typing.TYPE_CHECKING
151+
"TCH004"
150152
]
151153
ignore = [
152154
# mutable defaults

0 commit comments

Comments
 (0)