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:
@@ -69,7 +69,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
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ Rules for AI coding assistants working in this repository.
|
||||
environment. A node's `build:` is `uv pip install .`, so dataflows must be run
|
||||
with `--uv`.
|
||||
- **`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
|
||||
|
||||
Reference in New Issue
Block a user