Skip to content

Commit 120db62

Browse files
stainless-botstainless-app[bot]
authored andcommitted
chore(internal): enable ruff type checking misuse lint rule (#275)
This catches the case where a typing import is used at runtime
1 parent 206bccb commit 120db62

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)