diff --git a/runner/harness/lint.py b/runner/harness/lint.py index 26b9df1..9e28ae1 100644 --- a/runner/harness/lint.py +++ b/runner/harness/lint.py @@ -44,7 +44,9 @@ _ANSI = re.compile(r"\x1b\[[0-9;?]*[A-Za-z]") # A table row: ┃ R014 ┃ description ┃ error ┃ ✅/❌ ┃ skipped ┃ how-to-fix ┃ — abra renders the # grid with HEAVY box-drawing verticals (┃ U+2503); accept the light variant (│ U+2502) too. -_ROW = re.compile(r"^\s*[│┃]\s*(R\d+)\s*[│┃](.*?)[│┃]\s*(warn|error)\s*[│┃]\s*(✅|❌)\s*[│┃]\s*([^│┃]*)[│┃]") +_ROW = re.compile( + r"^\s*[│┃]\s*(R\d+)\s*[│┃](.*?)[│┃]\s*(warn|error)\s*[│┃]\s*(✅|❌)\s*[│┃]\s*([^│┃]*)[│┃]" +) # abra's trailing sentinel when any error-severity rule is unsatisfied (cross-check only). _SENTINEL = "critical errors present"