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"
|
2020-02-12 12:10:41 +00:00
|
|
|
hooks:
|
|
|
|
- id: "flake8"
|
|
|
|
- repo: "https://github.com/pre-commit/mirrors-isort"
|
2021-05-02 11:45:02 +00:00
|
|
|
rev: "v5.8.0"
|
2020-02-12 12:10:41 +00:00
|
|
|
hooks:
|
|
|
|
- id: "isort"
|
2021-07-19 15:09:56 +00:00
|
|
|
- repo: "https://github.com/myint/autoflake"
|
|
|
|
rev: "v1.4"
|
2021-07-19 13:00:59 +00:00
|
|
|
hooks:
|
2021-07-19 15:09:56 +00:00
|
|
|
- id: "autoflake"
|
2021-07-19 13:00:59 +00:00
|
|
|
args:
|
2021-07-19 15:09:56 +00:00
|
|
|
- "--in-place"
|
|
|
|
- "--remove-all-unused-imports"
|
|
|
|
- "--ignore-init-module-imports"
|