Skip to content

Commit

Permalink
Update pre-commit dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
altheaden committed Oct 2, 2024
1 parent ef8372a commit a06adf8
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,40 @@ 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
- id: check-yaml
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"]
additional_dependencies: [flake8-isort]
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

0 comments on commit a06adf8

Please sign in to comment.