diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 7ab9f5a..5f3fb43 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,18 +6,18 @@ repos: - id: isort # Python code formatting - repo: https://github.com/psf/black - rev: 23.1.0 + rev: 23.9.1 hooks: - id: black # Remove unused Python imports - repo: https://github.com/PyCQA/autoflake - rev: v2.0.2 + rev: v2.2.1 hooks: - id: autoflake args: ["--in-place", "--remove-all-unused-imports", "--ignore-init-module-imports"] # Run mypy type validation - repo: https://github.com/pre-commit/mirrors-mypy - rev: 'v1.1.1' + rev: 'v1.5.1' hooks: - id: mypy exclude: ^src/demcmc/tests|^doc/tutorials @@ -29,7 +29,7 @@ repos: - id: check-yaml - repo: https://github.com/codespell-project/codespell - rev: v2.2.4 + rev: v2.2.5 hooks: - id: codespell args: ['--toml pyproject.toml']