lint markdown recursively

`scan *.md` only matched the repository root, so a file added under any
subdirectory would have stopped being checked without the CI step noticing.
Scanning recursively follows the files instead of the layout, and
--respect-gitignore keeps it off .venv and .dora.
This commit is contained in:
2026-09-15 06:20:11 -03:00
parent 69ad074a79
commit e939821bbc
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -63,7 +63,7 @@ jobs:
- run: uv run ruff check .
- run: uv run pymarkdown scan *.md
- run: uv run pymarkdown scan -r --respect-gitignore .
- run: uv run pytest -q
+1 -1
View File
@@ -8,7 +8,7 @@ Rules for AI coding assistants working in this repository.
`uv run ruff check .`, `uv run python ...`. Never `pip` into the ambient
environment.
- **`ruff` is the linter and the formatter.** `uv run ruff check .` must be clean.
- **Markdown is linted too.** `uv run pymarkdown scan *.md` must be clean. Its line
- **Markdown is linted too.** `uv run pymarkdown scan -r --respect-gitignore .` must be clean. Its line
length is set in `pyproject.toml`.
- **numpy-style docstrings.**
- **Dependencies must ship prebuilt wheels for linux-x86_64, linux-aarch64 and