diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index a54662d..5333a84 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -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 diff --git a/AGENTS.md b/AGENTS.md index 5d743ff..68f8716 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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