mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-14 01:41:22 -06:00

* 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
16 lines
248 B
TOML
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"
|