Skip to content

Commit e20fdbe

Browse files
authored
Merge pull request #1038 from mdujava/iosort-check
Add isort check to commit-acceptance
2 parents 752003b + 107ca63 commit e20fdbe

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,17 @@ ifeq ($(filter-out --store --load,$(flags)),$(flags))
4949
endif
5050

5151
commit-acceptance: ## Run all linters, checks, formatters
52-
commit-acceptance: pylint flake8 mypy all-is-package black-check
52+
commit-acceptance: pylint flake8 mypy all-is-package black-check isort-check
5353

5454
pylint flake8 mypy: pipenv-dev
5555
pipenv run $@ $(flags) testsuite
5656

5757
black-check: pipenv-dev
5858
pipenv run black --check testsuite
5959

60+
isort-check: pipenv-dev
61+
pipenv run isort -c --profile black testsuite
62+
6063
all-is-package:
6164
@echo
6265
@echo "Searching for dirs missing __init__.py"

Pipfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ types-braintree = "*"
99
types-stripe = "*"
1010
types-Pillow = "*"
1111
black = "*"
12+
isort = "*"
1213
# this will use system ca-bundle
1314
pip-system-certs = "*"
1415
# Have commented out python-language-server to make it available quickly

0 commit comments

Comments
 (0)