Skip to content

Commit 1fed7d4

Browse files
build(lint): delegate lint:docs to pre-commit run markdownlint
Avoids requiring Node/markdownlint in PATH. pre-commit manages its own isolated Node environment, so lint:docs now uses the exact same binary and config as the pre-commit hook with zero extra dependencies.
1 parent 05bd359 commit 1fed7d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ build-backend = "uv_build"
7777
"lint" = "uv run ruff check --fix"
7878
"lint:format" = "uv run ruff format"
7979
"lint:types" = "uv run ty check"
80-
"lint:docs" = { shell = "markdownlint '**/*.md' --ignore CHANGELOG.md --config .markdownlint.yml" }
80+
"lint:docs" = "uv run pre-commit run markdownlint --all-files"
8181
"test" = "uv run pytest --cov edit_python_pe --cov-report xml:cobertura.xml --cov-report term --junitxml report.xml"
8282
"freeze" = "uv export --format requirements.txt --no-group dev --no-hashes --no-annotate --no-header --output-file requirements.txt"
8383
"freeze:dev" = "uv export --format requirements.txt --all-groups --no-hashes --no-annotate --no-header --output-file requirements.dev.txt"

0 commit comments

Comments
 (0)