Skip to content

Commit 3c60be4

Browse files
committed
set the isort profile to black
- prevent conflict while formatting imports Signed-off-by: Keshav Priyadarshi <git@keshav.space>
1 parent 76db996 commit 3c60be4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ envfile:
6666

6767
isort:
6868
@echo "-> Apply isort changes to ensure proper imports ordering"
69-
@${ACTIVATE} isort .
69+
@${ACTIVATE} isort --profile black .
7070

7171
black:
7272
@echo "-> Apply black code formatter"
@@ -82,7 +82,7 @@ check: doc8
8282
@echo "-> Run pycodestyle (PEP8) validation"
8383
@${ACTIVATE} pycodestyle ${PYCODESTYLE_ARGS} .
8484
@echo "-> Run isort imports ordering validation"
85-
@${ACTIVATE} isort --check-only .
85+
@${ACTIVATE} isort --profile black --check-only .
8686
@echo "-> Run black validation"
8787
@${ACTIVATE} black --check ${BLACK_ARGS} .
8888

0 commit comments

Comments
 (0)