CI runs ruff format over the whole repository, which includes code blocks in Markdown. The hook only saw Python files, so a local run passed and CI failed. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
b4087cdf6e
commit
0ecd780f59
1 file changed
+2
-1
@@ -13,7 +13,8 @@ repos:
|
||||
name: ruff format
|
||||
entry: uv run ruff format
|
||||
language: system
|
||||
types_or: [python, pyi]
|
||||
# ruff also formats Python code blocks in Markdown; CI checks them too.
|
||||
types_or: [python, pyi, markdown]
|
||||
- id: import-linter
|
||||
name: import-linter
|
||||
entry: uv run lint-imports --no-logo
|
||||
|
||||
Reference in new issue
Block a user