Files
pico-thermo/pyproject.toml
T
gballan 7cf81914ec
ci/woodpecker/push/woodpecker Pipeline failed
Adding ruff tool config for the Pico
2026-09-06 00:49:41 -04:00

17 lines
455 B
TOML

[tool.ruff]
target-version = "py311"
line-length = 100
[tool.ruff.lint]
# Select Pyflakes (F) and pycodestyle errors (E)
select = ["E", "F", "W"]
# Ignore warnings that clash with typical embedded / MicroPython conventions
ignore = [
"E501", # Line too long (useful for binary tables / long MQTT payloads)
]
# Tell the linter that these are built-in globals on the Pico
[tool.ruff.lint.flake8-builtins]
builtins-ignorelist = ["machine", "network"]