booplaysgba/.pre-commit-config.yaml
2021-10-30 13:29:31 +02:00

33 lines
616 B
YAML

repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v3.2.0
hooks:
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-added-large-files
- repo: https://github.com/pycqa/isort
rev: 5.9.3
hooks:
- id: isort
name: isort (python)
- id: isort
name: isort (cython)
types: [cython]
- id: isort
name: isort (pyi)
types: [pyi]
- repo: https://github.com/psf/black
rev: 21.9b0
hooks:
- id: black
language_version: python
- repo: https://gitlab.com/pycqa/flake8
rev: 4.0.1
hooks:
- id: flake8