Skip to content

Commit

Permalink
remove isort warning for -rc (#86)
Browse files Browse the repository at this point in the history
* remove isort warning for -rc
  • Loading branch information
chinskiy authored Apr 18, 2024
1 parent a174550 commit 6a7b26a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ help: ## Show help
@awk 'BEGIN {FS = ":.*?## "} /^[a-zA-Z_-]+:.*?## / {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' $(MAKEFILE_LIST)

isort: ## run isort and change imports order
isort -rc dj_anonymizer example tests
isort dj_anonymizer example tests

isort_check_only: ## run isort and show diff
isort -rc -c dj_anonymizer example tests
isort -c dj_anonymizer example tests

flake8: ## run flake8
flake8 .
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -30,5 +30,5 @@ commands = make flake8
deps = flake8==7.0.0

[testenv:isort]
commands = make isort
commands = make isort_check_only
deps = isort==5.13.2

0 comments on commit 6a7b26a

Please sign in to comment.