mirror of
https://github.com/graphql-python/graphene.git
synced 2025-02-02 12:44:15 +03:00
Add black formatter pre-commit hook and remove isort (since black also sorts imports)
This commit is contained in:
parent
ae7395f9da
commit
04782a2818
|
@ -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
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user