-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathruff.toml
More file actions
30 lines (26 loc) · 804 Bytes
/
Copy pathruff.toml
File metadata and controls
30 lines (26 loc) · 804 Bytes
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
# Ruff configuration
# https://docs.astral.sh/ruff/configuration/
# Exclude paths from linting entirely
exclude = [
"ops/dev-stack/evidence.dev/**",
"**/node_modules/**",
"**/.venv/**",
"**/venv/**",
"**/dbt_packages/**",
]
[lint]
# Enable common rules
select = ["E", "F", "W"]
# Ignore specific rules that are too noisy for legacy code
ignore = [
"E501", # Line too long
"F401", # Unused imports (many legacy files have these)
"F841", # Unused variables
"W291", # Trailing whitespace
"W292", # No newline at end of file
"W293", # Blank line contains whitespace
]
[lint.per-file-ignores]
# Ignore errors in legacy/experimental code
"ops/dev-stack/py_app/src/quality_checks/**" = ["F821", "E401"]
"ops/dev-stack/py_app/src/test/**" = ["F821", "F841"]