Skip to content

Commit 659c83b

Browse files
committed
Fix type checking abbreviation
1 parent 60120d2 commit 659c83b

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ select = [
234234
"TID",
235235
# implicit string concatenation
236236
"ISC",
237-
# type-checking imports
238-
"TCH",
237+
# flake8-type-checking
238+
"TC",
239239
# comprehensions
240240
"C4",
241241
# pygrep-hooks
@@ -390,6 +390,8 @@ ignore = [
390390
"PLW0108",
391391
# global-statement
392392
"PLW0603",
393+
# runtime-cast-value
394+
"TC006",
393395
]
394396

395397
exclude = [
@@ -429,7 +431,7 @@ exclude = [
429431
"pandas/tests/*" = ["B028", "FLY"]
430432
"scripts/*" = ["B028"]
431433
# Keep this one enabled
432-
"pandas/_typing.py" = ["TCH"]
434+
"pandas/_typing.py" = ["TC"]
433435

434436
[tool.ruff.lint.flake8-pytest-style]
435437
fixture-parentheses = false

0 commit comments

Comments
 (0)