00af109e2f
* add flake8 to pre-commit config, and fixup many things to make flake8 happy * add isort and sort all imports, add to pre-commit and requirements
15 lines
343 B
YAML
15 lines
343 B
YAML
repos:
|
|
- repo: "https://github.com/ambv/black"
|
|
rev: "stable"
|
|
hooks:
|
|
- id: "black"
|
|
language_version: "python3.7"
|
|
- repo: "https://github.com/pre-commit/pre-commit-hooks"
|
|
rev: "v2.3.0"
|
|
hooks:
|
|
- id: "flake8"
|
|
- repo: "https://github.com/pre-commit/mirrors-isort"
|
|
rev: "v4.3.21"
|
|
hooks:
|
|
- id: "isort"
|