Update pre-commit config to the latest linter and python 3.10

This commit is contained in:
Adrià Casajús
2022-05-03 18:07:07 +02:00
parent 67dad33b70
commit 16274bea8b
+11 -5
View File
@@ -1,10 +1,16 @@
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.2.0
hooks:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.1.0
rev: 22.3.0
hooks:
- id: black
language_version: python3.7
- repo: https://github.com/pycqa/flake8
rev: 4.0.1
language_version: "3.10"
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
- id: flake8