Skip to content

Commit

Permalink
chore(internal): enable ruff type checking misuse lint rule (#1106)
Browse files Browse the repository at this point in the history
This catches the case where a typing import is used at runtime
  • Loading branch information
stainless-bot authored Jan 26, 2024
1 parent 455bc9f commit fa63e60
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ select = [
# print statements
"T201",
"T203",
# misuse of typing.TYPE_CHECKING
"TCH004"
]
ignore = [
# mutable defaults
Expand Down

0 comments on commit fa63e60

Please sign in to comment.