mirror of
https://github.com/varun-r-mallya/py-libp2p.git
synced 2026-02-12 16:10:57 +00:00
fix ci not running lint, bump pre-commit-hooks version
This commit is contained in:
2
.github/workflows/tox.yml
vendored
2
.github/workflows/tox.yml
vendored
@ -30,7 +30,7 @@ jobs:
|
|||||||
if [[ "$toxenv" == 'docs' ]]; then
|
if [[ "$toxenv" == 'docs' ]]; then
|
||||||
echo 'TOXENV=docs' | tee -a $GITHUB_ENV
|
echo 'TOXENV=docs' | tee -a $GITHUB_ENV
|
||||||
else
|
else
|
||||||
echo "TOXENV=${python}-${toxenv}" | tr -d '.' | tee -a $GITHUB_ENV
|
echo "TOXENV=py${python}-${toxenv}" | tr -d '.' | tee -a $GITHUB_ENV
|
||||||
fi
|
fi
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
exclude: '.project-template|docs/conf.py|.*pb2\..*'
|
exclude: '.project-template|docs/conf.py|.*pb2\..*'
|
||||||
repos:
|
repos:
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||||||
rev: v4.5.0
|
rev: v5.0.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-yaml
|
- id: check-yaml
|
||||||
- id: check-toml
|
- id: check-toml
|
||||||
@ -38,7 +38,7 @@ repos:
|
|||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
- tomli # required until >= python311
|
- tomli # required until >= python311
|
||||||
- repo: https://github.com/executablebooks/mdformat
|
- repo: https://github.com/executablebooks/mdformat
|
||||||
rev: 0.7.17
|
rev: 0.7.22
|
||||||
hooks:
|
hooks:
|
||||||
- id: mdformat
|
- id: mdformat
|
||||||
additional_dependencies:
|
additional_dependencies:
|
||||||
|
|||||||
1
newsfragments/522.internal.rst
Normal file
1
newsfragments/522.internal.rst
Normal file
@ -0,0 +1 @@
|
|||||||
|
Fixes broken CI lint run, bumps ``pre-commit-hooks`` version to ``5.0.0`` and ``mdformat`` to ``0.7.22``.
|
||||||
Reference in New Issue
Block a user