Skip to content

Commit a98b037

Browse files
chore(internal): enable ruff type checking misuse lint rule (#152)
This catches the case where a typing import is used at runtime
1 parent 988e720 commit a98b037

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
@@ -144,6 +144,8 @@ select = [
144144
# print statements
145145
"T201",
146146
"T203",
147+
# misuse of typing.TYPE_CHECKING
148+
"TCH004"
147149
]
148150
ignore = [
149151
# mutable defaults

0 commit comments

Comments
 (0)