Answer prose round 2: 0 🔴, 2 🟡 (0 misread); say what the tabs rule leaves out, and when chunk-preflight reports
CI / tests (pull_request) Has been cancelled
CI / tests (pull_request) Has been cancelled
This commit is contained in:
@@ -9,7 +9,7 @@ import re
|
||||
from failure import Failure
|
||||
from git_cli.git_repo import git
|
||||
|
||||
# Files of common programming languages, by extension. Markdown, JSON and YAML aren't code: a format fixes their indentation.
|
||||
# Files of common programming languages, by extension. The check skips Markdown, JSON and YAML, which are prose or data.
|
||||
CODE = re.compile(r".*\.(py|js|mjs|cjs|jsx|ts|tsx|rs|go|php|java|kt|kts|scala|rb|c|h|cc|cpp|hpp|cs|swift|sh|bash|lua|ex|exs|dart|vue|svelte)", re.IGNORECASE)
|
||||
# Committed copies of other people's code follow their authors' style.
|
||||
VENDORED = re.compile(r"(^|/)(vendor|node_modules|third_party)/")
|
||||
|
||||
Reference in New Issue
Block a user