From 24022a04ea00ad185b3174f36a82f19cc3134b32 Mon Sep 17 00:00:00 2001 From: Paul Warren Date: Wed, 16 Oct 2024 21:09:48 +1100 Subject: [PATCH] Ignore long lines for generated register maps --- pyproject.toml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 103729f..6243388 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -37,6 +37,7 @@ line-length = 99 # 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 # 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"] \ No newline at end of file