Skip to content

Commit

Permalink
Upgrade pre-commit hooks
Browse files Browse the repository at this point in the history
Upgrade to version 3.4.0
Work around an issue with the shellcheck hook (see syntaqx/git-hooks#8)
  • Loading branch information
cans committed Mar 15, 2021
1 parent dbbb127 commit 43908d5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
default_language_version:
python: python3.7
python: python3.9

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.2.3
rev: v3.4.0
hooks:
- id: check-merge-conflict
- id: debug-statements
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.760
rev: v0.812
hooks:
- id: mypy
args: ['--ignore-missing-imports']
exclude: tests
- repo: https://gitlab.com/pycqa/flake8
rev: 3.7.7
rev: 3.9.0
hooks:
- id: flake8
- repo: https://github.com/pre-commit/mirrors-isort
rev: v4.3.21
hooks:
- id: isort
- repo: https://github.com/Lucas-C/pre-commit-hooks
rev: v1.1.6
rev: v1.1.9
hooks:
- id: forbid-crlf
- id: remove-crlf
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ zip_safe = true
dev =
coverage
pdbpp
pre-commit
pre-commit<2.10.0
pytest
pytest-cov
pytest-mock
Expand Down

0 comments on commit 43908d5

Please sign in to comment.