bornhack-website/.pre-commit-config.yaml

23 lines
546 B
YAML

repos:
- repo: "https://github.com/ambv/black"
rev: "21.4b2"
hooks:
- id: "black"
language_version: "python3"
- repo: "https://gitlab.com/pycqa/flake8"
rev: "3.9.1"
hooks:
- id: "flake8"
- repo: "https://github.com/pre-commit/mirrors-isort"
rev: "v5.8.0"
hooks:
- id: "isort"
- repo: "https://github.com/myint/autoflake"
rev: "v1.4"
hooks:
- id: "autoflake"
args:
- "--in-place"
- "--remove-all-unused-imports"
- "--ignore-init-module-imports"