31 lines
728 B
YAML
31 lines
728 B
YAML
|
# See https://pre-commit.com for more information
|
||
|
# See https://pre-commit.com/hooks.html for more hooks
|
||
|
repos:
|
||
|
|
||
|
- repo: https://github.com/ambv/black
|
||
|
rev: 22.10.0
|
||
|
hooks:
|
||
|
- id: black
|
||
|
language_version: python3.8
|
||
|
|
||
|
- repo: https://github.com/pycqa/isort
|
||
|
rev: 5.10.1
|
||
|
hooks:
|
||
|
- id: isort
|
||
|
args: ["--profile", "black"]
|
||
|
|
||
|
- repo: https://gitlab.com/pycqa/flake8
|
||
|
rev: 3.9.2
|
||
|
hooks:
|
||
|
- id: flake8
|
||
|
exclude: "setup.py|tests"
|
||
|
|
||
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
||
|
rev: v4.3.0
|
||
|
hooks:
|
||
|
- id: trailing-whitespace
|
||
|
- id: end-of-file-fixer
|
||
|
exclude: "tests/dicts/io/input/"
|
||
|
- id: check-yaml
|
||
|
- id: check-added-large-files
|