Avoid conflict between isort and black (#214)

Specify black profile for isort inside .pre-commit-config.yaml just in case someone deletes the setup.cfg
This commit is contained in:
Zhenyu Jiang authored and GitHub committed 2021-12-04 23:07:52 +01:00
1 parent ab02996fd4
commit 30c69b81c7
1 file changed
+1
+1
View File
@@ -22,6 +22,7 @@ repos:
rev: 5.8.0 rev: 5.8.0
hooks: hooks:
- id: isort - id: isort
args: ["--profile", "black", "--filter-files"]
# yaml formatting # yaml formatting
- repo: https://github.com/pre-commit/mirrors-prettier - repo: https://github.com/pre-commit/mirrors-prettier