Remove redundant black hook & specify minimal supported python version for hooks (#70)

* fix(ci): remove duplicated hook

* feat(ci): specify minimal supported python version - hooks
This commit is contained in:
Tomasz Dądela
2022-11-16 23:48:12 +01:00
committed by GitHub
parent 82eebae686
commit 80f4f4e3f7

View File

@ -5,20 +5,17 @@ repos:
- id: check-yaml
- id: end-of-file-fixer
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
- repo: https://github.com/pycqa/isort
rev: 5.10.1
hooks:
- id: isort
name: isort (python)
args: ["--profile", "black"]
args: ["--python-version", "37", "--profile", "black"]
- repo: https://github.com/psf/black
rev: 22.10.0
hooks:
- id: black
args: ["--target-version", "py37"]
- repo: https://github.com/PyCQA/flake8
rev: 5.0.4
hooks: