diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 9730e63..17908d9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,11 +8,14 @@ repos: - id: check-merge-conflict - id: check-vcs-permalinks - id: check-yaml + - id: debug-statements + exclude: ^src/pytask_parallel/wrappers.py$ - id: end-of-file-fixer - id: fix-byte-order-marker - id: mixed-line-ending - id: no-commit-to-branch args: [--branch, main] + - id: trailing-whitespace - repo: https://github.com/pre-commit/pygrep-hooks rev: v1.10.0 hooks: @@ -25,7 +28,7 @@ repos: - repo: https://github.com/astral-sh/ruff-pre-commit rev: v0.14.10 hooks: - - id: ruff + - id: ruff-check - id: ruff-format - repo: https://github.com/kynan/nbstripout rev: 0.8.2 @@ -52,10 +55,10 @@ repos: ] args: [--wrap, "88"] files: (README\.md) -- repo: https://github.com/codespell-project/codespell - rev: v2.4.1 - hooks: - - id: codespell +- repo: https://github.com/crate-ci/typos + rev: v1.40.1 + hooks: + - id: typos - repo: meta hooks: - id: check-hooks-apply diff --git a/docs/source/changes.md b/docs/source/changes.md index 308df57..7b33ab9 100644 --- a/docs/source/changes.md +++ b/docs/source/changes.md @@ -8,6 +8,7 @@ releases are available on [PyPI](https://pypi.org/project/pytask-parallel) and ## Unreleased - {pull}`129` drops support for Python 3.8 and 3.9 and adds support for Python 3.14. +- {pull}`131` updates pre-commit hooks. ## 0.5.1 - 2025-03-09