Bump mypy, flake8, and pre-commit-hooks in pre-commit (GH-2922)

This commit is contained in:
Richard Si 2022-03-14 19:41:46 -04:00 committed by GitHub
parent 71e71e5f52
commit 9ce3c806e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,8 @@ repos:
files: '(CHANGES\.md|the_basics\.md)$'
additional_dependencies: *version_check_dependencies
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8
additional_dependencies:
@ -41,7 +41,7 @@ repos:
- flake8-simplify
- repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910-1
rev: v0.940
hooks:
- id: mypy
exclude: ^docs/conf.py
@ -60,7 +60,7 @@ repos:
exclude: \.github/workflows/diff_shades\.yml
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.0.1
rev: v4.1.0
hooks:
- id: end-of-file-fixer
- id: trailing-whitespace