chore(lint): remove T rules (print), suppress G004 logging-f-string
T201/T203 (print/pprint) — 781 occurrences in scripts, test tools, and interactive CLI entry points. Tracked for future logging migration. G004 (logging-f-string) — 1895 occurrences. AST-based converter broke syntax on format specs. Intentional style until libcst approach.
This commit is contained in:
parent
c700c85ac3
commit
0969aee84b
1 changed files with 5 additions and 2 deletions
|
|
@ -83,13 +83,16 @@ select = [
|
|||
"S", # flake8-bandit (security)
|
||||
"PIE", # flake8-pie
|
||||
"PT", # flake8-pytest-style
|
||||
"T10", # debugger
|
||||
"T20", # print
|
||||
]
|
||||
ignore = [
|
||||
"E501", # line length (handled by formatter)
|
||||
"B008", # function calls in defaults (FastAPI Depends)
|
||||
"S101", # assert (we use it in dev paths)
|
||||
"N818", # exception naming (we use Error suffix)
|
||||
"G004", # logging f-string (intentional — lazy %% is uglier)
|
||||
"N818", # exception naming
|
||||
"G004", # logging f-string
|
||||
"T201", # print (intentional — CLI scripts keep print)
|
||||
]
|
||||
|
||||
[tool.ruff.lint.per-file-ignores]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue