diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a4ec5c9..11bdc87 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,12 +4,17 @@ ci: # This project is not active enough to justify weekly autoupdates. autoupdate_schedule: quarterly +# Use pypy3 for the Python hooks +default_language_version: + python: pypy3 + repos: - repo: https://github.com/pre-commit/pre-commit-hooks rev: v4.4.0 hooks: - id: check-added-large-files - id: check-case-conflict + - id: check-yaml - id: check-executables-have-shebangs - id: check-shebang-scripts-are-executable - id: destroyed-symlinks @@ -19,14 +24,19 @@ repos: - id: trailing-whitespace exclude_types: [markdown] + - repo: https://github.com/pre-commit-ci/pre-commit-ci-config + rev: v1.6.1 + hooks: + - id: check-pre-commit-ci-config + - repo: https://github.com/thlorenz/doctoc rev: v2.2.0 hooks: - id: doctoc - args: [--update-only] + args: [--update-only, --notitle] - repo: https://github.com/python-jsonschema/check-jsonschema - rev: 0.26.3 + rev: 0.27.0 hooks: - id: check-dependabot - id: check-github-actions