Skip to content

Commit 04782a2

Browse files
author
Daniel Gallagher
committed
Add black formatter pre-commit hook and remove isort (since black also sorts imports)
1 parent ae7395f commit 04782a2

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.pre-commit-config.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,8 @@ repos:
2222
rev: v1.2.0
2323
hooks:
2424
- id: pyupgrade
25-
- repo: https://github.com/asottile/seed-isort-config
26-
rev: v1.0.1
25+
- repo: https://github.com/ambv/black
26+
rev: stable
2727
hooks:
28-
- id: seed-isort-config
29-
- repo: https://github.com/pre-commit/mirrors-isort
30-
rev: v4.3.4
31-
hooks:
32-
- id: isort
28+
- id: black
29+
language_version: python3.6

0 commit comments

Comments
 (0)