-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
27 lines (23 loc) · 694 Bytes
/
ruff.toml
File metadata and controls
27 lines (23 loc) · 694 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
###############################################################################
# Ruff configuration (ruff.toml form)
###############################################################################
# Global options
line-length = 120
extend-exclude = [
"__pycache__",
".github",
".idea",
".ipynb_checkpoints",
".spyproject",
".vscode",
"FAST_data",
"FAST_plots",
]
[lint]
select = ["E", "F", "W", "B"] # Core error/warning sets + bugbear
ignore = []
# E already includes E722 (no bare except). Keeping extend-select for clarity.
extend-select = ["E722"]
[lint.per-file-ignores]
# Uncomment to relax legacy archival code:
# "backup of old files/*" = ["E722"]