Ignore long lines for generated register maps

This commit is contained in:
Paul Warren 2024-10-16 21:09:48 +11:00
parent ba8aeeb3f3
commit 24022a04ea

View file

@ -37,6 +37,7 @@ line-length = 99
# Add the `line-too-long` rule to the enforced rule set. By default, Ruff omits rules that # Add the `line-too-long` rule to the enforced rule set. By default, Ruff omits rules that
# overlap with the use of a formatter, like Black, but we can override this behavior by # overlap with the use of a formatter, like Black, but we can override this behavior by
# explicitly adding the rule. # explicitly adding the rule.
extend-select = ["T20", "E", "PL"] extend-select = ["E501", "T20", "E", "PL"]
[tool.ruff.lint.extend-per-file-ignores]
"*register*.py" = ["E501"]