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

23 lines
546 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"
2021-07-19 15:09:56 +00:00
- repo: "https://github.com/myint/autoflake"
rev: "v1.4"
hooks:
2021-07-19 15:09:56 +00:00
- id: "autoflake"
args:
2021-07-19 15:09:56 +00:00
- "--in-place"
- "--remove-all-unused-imports"
- "--ignore-init-module-imports"