diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e3f1c022..f24c0ed4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -4,7 +4,7 @@ fail_fast: true repos: - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v4.6.0 hooks: - id: trailing-whitespace - id: end-of-file-fixer @@ -12,19 +12,19 @@ repos: exclude: conda/meta.yaml - repo: https://github.com/psf/black - rev: 22.3.0 + rev: 24.8.0 hooks: - id: black - repo: https://github.com/PyCQA/isort - rev: 5.12.0 + rev: 5.13.2 hooks: - id: isort # Need to use flake8 GitHub mirror due to CentOS git issue with GitLab # https://github.com/pre-commit/pre-commit/issues/1206 - repo: https://github.com/pycqa/flake8 - rev: 3.8.4 + rev: 7.1.1 hooks: - id: flake8 args: ["--config=setup.cfg"] @@ -32,7 +32,12 @@ repos: exclude: analysis_data_preprocess - repo: https://github.com/pre-commit/mirrors-mypy - rev: v0.790 + rev: v1.11.2 hooks: - id: mypy args: ["--config=setup.cfg"] + +# https://pre-commit.ci/#configuration +ci: + autofix_prs: false + autoupdate_schedule: monthly