Skip to content

Commit

Permalink
move isort config to file
Browse files Browse the repository at this point in the history
  • Loading branch information
chris48s committed Sep 28, 2023
1 parent 7dc0a27 commit 4ed6541
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .isort.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[settings]
profile=black
skip_gitignore=true
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@ help:
@grep '^\.PHONY' Makefile | cut -d' ' -f2- | tr ' ' '\n'

format:
poetry run isort --profile black .
poetry run isort .
poetry run black .

install:
poetry install

lint:
poetry run isort --profile black -c --diff .
poetry run isort -c --diff .
poetry run black --check .
poetry run flake8 .

Expand Down

0 comments on commit 4ed6541

Please sign in to comment.