Skip to content

Commit

Permalink
chore(internal): enable ruff type checking misuse lint rule (openai#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 and megamanics committed Aug 14, 2024
1 parent b883eca commit 6a34e3f
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 6a34e3f

Please sign in to comment.