mirror of
https://seed.flo-the.dev/z3gWc1qgaeZaoGwL4WTstLNoqjayM.git
synced 2025-12-06 04:47:35 +01:00
devenv: make black and isort wortk together
Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
@@ -48,8 +48,8 @@
|
|||||||
black.enable = true;
|
black.enable = true;
|
||||||
# sort imports
|
# sort imports
|
||||||
isort.enable = true;
|
isort.enable = true;
|
||||||
# line length the same for black and isort
|
# same profile for black and isort
|
||||||
isort.settings.flags = "-l 88";
|
isort.settings.flags = "--profile black";
|
||||||
# look for code smell
|
# look for code smell
|
||||||
# pylint.enable = true;
|
# pylint.enable = true;
|
||||||
detect-private-keys.enable = true;
|
detect-private-keys.enable = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user