Add black formatter pre-commit hook and remove isort (since black also sorts imports)

This commit is contained in:
Daniel Gallagher 2018-07-06 11:10:41 -07:00
parent ae7395f9da
commit 04782a2818

View File

@ -22,11 +22,8 @@ repos:
rev: v1.2.0 rev: v1.2.0
hooks: hooks:
- id: pyupgrade - id: pyupgrade
- repo: https://github.com/asottile/seed-isort-config - repo: https://github.com/ambv/black
rev: v1.0.1 rev: stable
hooks: hooks:
- id: seed-isort-config - id: black
- repo: https://github.com/pre-commit/mirrors-isort language_version: python3.6
rev: v4.3.4
hooks:
- id: isort