fix ci not running lint, bump pre-commit-hooks version

This commit is contained in:
pacrob
2025-02-24 19:17:27 -07:00
committed by Paul Robinson
parent d7eab27564
commit 0f0d51305c
4 changed files with 57 additions and 56 deletions

View File

@ -30,7 +30,7 @@ jobs:
if [[ "$toxenv" == 'docs' ]]; then
echo 'TOXENV=docs' | tee -a $GITHUB_ENV
else
echo "TOXENV=${python}-${toxenv}" | tr -d '.' | tee -a $GITHUB_ENV
echo "TOXENV=py${python}-${toxenv}" | tr -d '.' | tee -a $GITHUB_ENV
fi
- uses: actions/checkout@v4
- uses: actions/setup-python@v5

View File

@ -1,7 +1,7 @@
exclude: '.project-template|docs/conf.py|.*pb2\..*'
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: check-yaml
- id: check-toml
@ -38,7 +38,7 @@ repos:
additional_dependencies:
- tomli # required until >= python311
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.17
rev: 0.7.22
hooks:
- id: mdformat
additional_dependencies:

View File

@ -0,0 +1 @@
Fixes broken CI lint run, bumps ``pre-commit-hooks`` version to ``5.0.0`` and ``mdformat`` to ``0.7.22``.