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:
1 parent
ab02996fd4
commit
30c69b81c7
1 file changed
+1
@@ -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
|
||||||
|
|||||||
Reference in new issue
Block a user