Reordering hooks

This commit is contained in:
David Doblas Jiménez 2022-03-01 10:51:52 +01:00
parent 92f7fe7dcc
commit 3608b6ce92

View File

@ -6,20 +6,20 @@ repos:
- id: end-of-file-fixer - id: end-of-file-fixer
- id: check-yaml - id: check-yaml
- id: check-added-large-files - id: check-added-large-files
- repo: https://gitlab.com/pycqa/flake8
rev: 3.9.2
hooks:
- id: flake8
- repo: https://github.com/psf/black - repo: https://github.com/psf/black
rev: 22.1.0 rev: 22.1.0
hooks: hooks:
- id: black - id: black
- repo: https://github.com/PyCQA/isort
rev: 5.10.1
hooks:
- id: isort
- repo: https://github.com/pre-commit/mirrors-mypy - repo: https://github.com/pre-commit/mirrors-mypy
rev: v0.931 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://gitlab.com/pycqa/flake8
rev: 5.10.1 rev: 3.9.2
hooks: hooks:
- id: isort - id: flake8