From 363bf006beee72c50ee0805d905b15c87b380229 Mon Sep 17 00:00:00 2001 From: Cristhian Date: Tue, 15 Sep 2026 06:20:14 -0300 Subject: [PATCH] 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. --- .github/workflows/validate.yml | 2 +- AGENTS.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index aae5dce..a0f1b4e 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -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 diff --git a/AGENTS.md b/AGENTS.md index 2b03ccc..7d3153e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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