update pre-commit

This commit is contained in:
Guilhem Saurel 2021-07-13 11:15:04 +02:00
parent c5b7ea19ce
commit 32208294ea

View file

@ -1,6 +1,6 @@
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v2.4.0 rev: v4.0.1
hooks: hooks:
- id: check-added-large-files - id: check-added-large-files
- id: check-ast - id: check-ast
@ -11,18 +11,21 @@ repos:
- id: debug-statements - id: debug-statements
- id: detect-private-key - id: detect-private-key
- id: end-of-file-fixer - id: end-of-file-fixer
- id: flake8
- id: mixed-line-ending - id: mixed-line-ending
- id: trailing-whitespace - id: trailing-whitespace
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: stable rev: 21.6b0
hooks: hooks:
- id: black - id: black
language_version: python3 language_version: python3
- repo: https://github.com/PyCQA/pydocstyle - repo: https://github.com/PyCQA/pydocstyle
rev: 5.0.1 rev: 6.1.1
hooks: hooks:
- id: pydocstyle - id: pydocstyle
- repo: https://github.com/PyCQA/flake8
rev: 3.9.2
hooks:
- id: flake8
- repo: https://gitlab.com/smop/pre-commit-hooks - repo: https://gitlab.com/smop/pre-commit-hooks
rev: v1.0.0 rev: v1.0.0
hooks: hooks: