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

22 lines
493 B
YAML
Raw Normal View History

2020-02-07 17:51:50 +00:00
repos:
- repo: "https://github.com/ambv/black"
2021-05-02 11:45:02 +00:00
rev: "21.4b2"
2020-02-07 17:51:50 +00:00
hooks:
- id: "black"
2021-05-02 11:37:56 +00:00
language_version: "python3"
2021-05-02 11:45:02 +00:00
- repo: "https://gitlab.com/pycqa/flake8"
rev: "3.9.1"
hooks:
- id: "flake8"
- repo: "https://github.com/pre-commit/mirrors-isort"
2021-05-02 11:45:02 +00:00
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