File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 44 PYTHON = monkeytype run
55endif
66
7+ ISORT_MODULES = monkeytype_config.py setup.py bin/stratis src tests
8+
79MONKEYTYPE_MODULES = stratis_cli._actions._bind \
810 stratis_cli._actions._constants \
911 stratis_cli._actions._data \
@@ -54,12 +56,13 @@ lint:
5456.PHONY : fmt
5557fmt :
5658 (cd src; yes | abs2rel)
57- isort setup.py bin/stratis src tests
59+ isort ${ISORT_MODULES}
5860 black ./bin/stratis .
5961
6062.PHONY : fmt-ci
6163fmt-ci :
62- isort --diff --check-only setup.py bin/stratis src tests
64+ (cd src; yes | abs2rel)
65+ isort --diff --check-only ${ISORT_MODULES}
6366 black ./bin/stratis . --check
6467
6568.PHONY : fmt-shell
Original file line number Diff line number Diff line change 44
55# isort: STDLIB
66import os
7- from typing import Any , Union
87from types import CodeType
8+ from typing import Any , Union
99
1010# isort: THIRDPARTY
1111from monkeytype .config import DefaultConfig
You can’t perform that action at this time.
0 commit comments