Infra: Update precommit to fix Poetry (#2994)

This commit is contained in:
Hugo van Kemenade 2023-01-31 10:36:17 +02:00 committed by GitHub
parent 4224fa7f8d
commit b6ac1faea8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -12,7 +12,7 @@ default_stages: [commit]
repos: repos:
# General file checks and fixers # General file checks and fixers
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0 rev: v4.4.0
hooks: hooks:
- id: mixed-line-ending - id: mixed-line-ending
name: "Normalize mixed line endings" name: "Normalize mixed line endings"
@ -43,7 +43,7 @@ repos:
name: "Check YAML" name: "Check YAML"
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.10.0 rev: 22.12.0
hooks: hooks:
- id: black - id: black
name: "Format with Black" name: "Format with Black"
@ -53,7 +53,7 @@ repos:
files: 'pep_sphinx_extensions/tests/.*' files: 'pep_sphinx_extensions/tests/.*'
- repo: https://github.com/PyCQA/isort - repo: https://github.com/PyCQA/isort
rev: 5.10.1 rev: 5.12.0
hooks: hooks:
- id: isort - id: isort
name: "Sort imports with isort" name: "Sort imports with isort"
@ -61,13 +61,13 @@ repos:
files: 'pep_sphinx_extensions/tests/.*' files: 'pep_sphinx_extensions/tests/.*'
- repo: https://github.com/tox-dev/tox-ini-fmt - repo: https://github.com/tox-dev/tox-ini-fmt
rev: 0.5.2 rev: 0.6.1
hooks: hooks:
- id: tox-ini-fmt - id: tox-ini-fmt
name: "Format tox.ini" name: "Format tox.ini"
- repo: https://github.com/sphinx-contrib/sphinx-lint - repo: https://github.com/sphinx-contrib/sphinx-lint
rev: v0.6.6 rev: v0.6.7
hooks: hooks:
- id: sphinx-lint - id: sphinx-lint
name: "Sphinx lint" name: "Sphinx lint"
@ -75,7 +75,7 @@ repos:
# RST checks # RST checks
- repo: https://github.com/pre-commit/pygrep-hooks - repo: https://github.com/pre-commit/pygrep-hooks
rev: v1.9.0 rev: v1.10.0
hooks: hooks:
- id: rst-backticks - id: rst-backticks
name: "Check RST: No single backticks" name: "Check RST: No single backticks"
@ -92,7 +92,7 @@ repos:
# Manual codespell check # Manual codespell check
- repo: https://github.com/codespell-project/codespell - repo: https://github.com/codespell-project/codespell
rev: v2.2.1 rev: v2.2.2
hooks: hooks:
- id: codespell - id: codespell
name: "Check for common misspellings in text files" name: "Check for common misspellings in text files"