Fix and update pre-commit hooks (#3011)

Co-authored-by: Justin Mayer <entroP@gmail.com>
This commit is contained in:
Anton Mosich 2022-08-04 15:01:17 +02:00 committed by GitHub
commit 23f3804c96
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,7 +1,7 @@
# See https://pre-commit.com/hooks.html for info on hooks # See https://pre-commit.com/hooks.html for info on hooks
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.5.0 rev: v4.3.0
hooks: hooks:
- id: check-added-large-files - id: check-added-large-files
- id: check-ast - id: check-ast
@ -11,6 +11,9 @@ repos:
- id: detect-private-key - id: detect-private-key
- id: end-of-file-fixer - id: end-of-file-fixer
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8 - id: flake8
name: Flake8 on commit diff name: Flake8 on commit diff
description: This hook limits Flake8 checks to changed lines of code. description: This hook limits Flake8 checks to changed lines of code.