* 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
This commit is contained in:
15
ruff.toml
15
ruff.toml
@@ -1,4 +1,15 @@
|
||||
exclude = [
|
||||
"netbox/project-static/**"
|
||||
]
|
||||
line-length = 120
|
||||
|
||||
[lint]
|
||||
extend-select = ["E1", "E2", "E3", "W"]
|
||||
ignore = ["E501", "F403", "F405"]
|
||||
extend-select = ["E1", "E2", "E3", "E501", "W"]
|
||||
ignore = ["F403", "F405"]
|
||||
preview = true
|
||||
|
||||
[lint.per-file-ignores]
|
||||
"template_code.py" = ["E501"]
|
||||
|
||||
[format]
|
||||
quote-style = "single"
|
||||
|
Reference in New Issue
Block a user