37 lines
1.1 KiB
TOML
37 lines
1.1 KiB
TOML
# Ruff configuration for Auto Claude
|
|
|
|
[lint]
|
|
# Enable common rule sets
|
|
select = [
|
|
"E", # pycodestyle errors
|
|
"W", # pycodestyle warnings
|
|
"F", # Pyflakes
|
|
"I", # isort
|
|
"B", # flake8-bugbear
|
|
"C4", # flake8-comprehensions
|
|
"UP", # pyupgrade
|
|
]
|
|
|
|
ignore = [
|
|
"E501", # line too long (handled by formatter)
|
|
"B008", # function call in default argument
|
|
"B904", # raise from err (too many to fix now)
|
|
"B905", # zip without strict parameter
|
|
"C401", # unnecessary generator
|
|
"C416", # unnecessary list comprehension
|
|
"E402", # module level import not at top of file
|
|
"F841", # local variable assigned but never used
|
|
"W293", # blank line contains whitespace
|
|
"B007", # loop control variable not used
|
|
]
|
|
|
|
[lint.per-file-ignores]
|
|
"__init__.py" = ["F401"] # unused imports in __init__.py
|
|
"tests/*" = ["B011"] # assert false in tests
|
|
"test_*.py" = ["F401"] # unused imports in test files (for availability checks)
|
|
|
|
[format]
|
|
quote-style = "double"
|
|
indent-style = "space"
|
|
line-ending = "auto"
|