Skip to content

Commit

Permalink
pre-commit: Update hooks
Browse files Browse the repository at this point in the history
Use latest versions of all the hooks which we include.

flake8 has moved to GitHub which means we tracked a stale repo
until now [1].  Update to the correct upstream.

[1]: PyCQA/flake8#1701
  • Loading branch information
Rahix committed Oct 20, 2022
1 parent 843f835 commit 37fd8e9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
@@ -1,26 +1,26 @@
repos:
- repo: https://github.com/ambv/black
rev: 22.3.0
rev: 22.10.0
hooks:
- id: black
args: [--line-length=88, --safe]
exclude: ^(setup\.py$|doc)
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
rev: v4.3.0
hooks:
- id: check-added-large-files
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-executables-have-shebangs
- id: check-merge-conflict
- id: debug-statements
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/pycqa/flake8
rev: 5.0.4
hooks:
- id: flake8
exclude: ^(setup\.py$|static_tests|doc|fastentrypoints.py)
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.950
rev: v0.982
hooks:
- id: mypy
args: [--no-incremental]
Expand Down

0 comments on commit 37fd8e9

Please sign in to comment.