forked from AndyMik90/Auto-Claude
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
36 lines (32 loc) · 1.07 KB
/
ruff.toml
File metadata and controls
36 lines (32 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# 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"