Update pre-commit

This commit is contained in:
David Doblas Jiménez 2022-02-11 19:06:58 +01:00
parent 599830ed15
commit ba0e0f4481

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: v4.0.1 rev: v4.1.0
hooks: hooks:
- id: trailing-whitespace - id: trailing-whitespace
- id: end-of-file-fixer - id: end-of-file-fixer
@ -11,15 +11,15 @@ repos:
hooks: hooks:
- id: flake8 - id: flake8
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 21.10b0 rev: 22.1.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.910-1 rev: v0.931
hooks: hooks:
- id: mypy - id: mypy
additional_dependencies: [pydantic] # add if use pydantic additional_dependencies: [pydantic] # add if use pydantic
- repo: https://github.com/PyCQA/isort - repo: https://github.com/PyCQA/isort
rev: 5.9.3 rev: 5.10.1
hooks: hooks:
- id: isort - id: isort