netbox/ruff.toml
Jeremy Stretch 343a4af591
Closes #18022: Extend linter (ruff) to enforce line length limit (120 chars) (#18067)
* Enable E501 rule
* Configure ruff formatter
* Reformat migration files to fix line length violations
* Fix various E501 errors
* Move table template code to template_code.py & ignore E501 errors
* Reformat raw SQL
2024-11-21 15:58:11 -05:00

16 lines
248 B
TOML

exclude = [
"netbox/project-static/**"
]
line-length = 120
[lint]
extend-select = ["E1", "E2", "E3", "E501", "W"]
ignore = ["F403", "F405"]
preview = true
[lint.per-file-ignores]
"template_code.py" = ["E501"]
[format]
quote-style = "single"