devenv: make black and isort wortk together

Signed-off-by: Florian Brandes <florian.brandes@posteo.de>
This commit is contained in:
2024-07-05 11:40:38 +02:00
parent 65924f9656
commit 3144db3613

View File

@@ -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;