-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathruff.toml
More file actions
21 lines (18 loc) · 789 Bytes
/
Copy pathruff.toml
File metadata and controls
21 lines (18 loc) · 789 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Ruff configuration for ForgeWorks.
# Bar: real bugs only (syntax errors, undefined names, pyflakes).
# Style/formatting (E*, line-length) intentionally NOT enforced on this pre-existing
# codebase — we want a green baseline contributors can build on, not a reformat flood.
target-version = "py310"
line-length = 120 # informational; E501 not selected below
[lint]
select = [
"E9", # syntax errors
"F", # pyflakes: undefined names, unused imports/vars, redefinitions
]
# F401 in __init__.py are usually legitimate re-exports — don't flag them.
ignore = []
[lint.per-file-ignores]
"__init__.py" = ["F401"]
"examples/*" = ["F841"] # example/demo scripts may keep exploratory locals
[lint.pycodestyle]
# not used (E not selected), kept for future enablement