Skip to content

Commit 0d3fc00

Browse files
authored
fix: change ruff TCH to TC (#4077)
fix: update ruff TCH rule to TC
1 parent 6514b71 commit 0d3fc00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ lint.select = [
445445
"SIM", # flake8-simplify
446446
"T10", # flake8-debugger
447447
"T20", # flake8-print
448-
"TCH", # flake8-type-checking
448+
"TC", # flake8-type-checking
449449
"TID", # flake8-tidy-imports
450450
"UP", # pyupgrade
451451
"W", # pycodestyle - warning
@@ -497,7 +497,7 @@ classmethod-decorators = [
497497
known-first-party = ["litestar", "tests", "examples"]
498498

499499
[tool.ruff.lint.per-file-ignores]
500-
"docs/**/*.*" = ["S", "B", "DTZ", "A", "TCH", "ERA", "D", "RET"]
500+
"docs/**/*.*" = ["S", "B", "DTZ", "A", "TC", "ERA", "D", "RET"]
501501
"docs/examples/**" = ["T201"]
502502
"docs/examples/application_hooks/before_send_hook.py" = ["UP006"]
503503
"docs/examples/contrib/sqlalchemy/plugins/**/*.*" = ["UP006"]
@@ -533,7 +533,7 @@ known-first-party = ["litestar", "tests", "examples"]
533533
"S",
534534
"S101",
535535
"SIM",
536-
"TCH",
536+
"TC",
537537
"TRY",
538538
"E721",
539539
]

0 commit comments

Comments
 (0)