Skip to content

Commit

Permalink
Merge pull request #230 from xylar/update-pre-commit-deps
Browse files Browse the repository at this point in the history
Update pre-commit dependencies
  • Loading branch information
xylar authored Sep 30, 2024
2 parents a010381 + d9ef5a9 commit 563b1f8
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,20 +4,20 @@ fail_fast: true

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
rev: v4.6.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer

# Can run individually with `pre-commit run isort --all-files`
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort

# Can run individually with `flynt [file]` or `flynt [source]`
- repo: https://github.com/ikamensh/flynt
rev: '0.78'
rev: '1.0.1'
hooks:
- id: flynt
args: ["--fail-on-change", "--verbose"]
Expand All @@ -27,17 +27,22 @@ repos:
# 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: 6.0.0
rev: 7.1.1
hooks:
- id: flake8
args: ["--config=setup.cfg"]
additional_dependencies: [flake8-isort]

# Can run individually with `pre-commit run mypy --all-files`
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.991
rev: v1.11.2
hooks:
- id: mypy
args: ["--config=setup.cfg", "--show-error-codes"]
verbose: true
additional_dependencies: ['types-requests']

# https://pre-commit.ci/#configuration
ci:
autofix_prs: false
autoupdate_schedule: monthly

0 comments on commit 563b1f8

Please sign in to comment.