Files
scanengine-3/ruff.toml
T
Thomas K Ales [MSE] 880b05fe86 working state commit
2026-09-25 08:13:03 -05:00

20 lines
726 B
TOML
Executable File

target-version = "py311"
line-length = 120
[lint]
# F: pyflakes (unused imports/variables, undefined names)
# E7/E9: comparison and runtime-error prone constructs
# B: bugbear (mutable defaults, useless expressions)
select = ["F", "E7", "E9", "B"]
ignore = [
"E731", # lambda assignment — used deliberately for short Qt slot glue
"E741", # ambiguous single-letter names — used in math-heavy geometry code
"E702", # `w = QLabel(); w.setFont(f)` on one line — the widget-layout idiom here
]
[lint.per-file-ignores]
# Deliberate package re-exports
"hardware/pybbd202/__init__.py" = ["F401"]
# Quarantined pending hardware verification (docs/genesis_verification.md)
"tools/genesis_laser_gui.py" = ["B007"]