Skip to content

Commit 3257841

Browse files
committed
make lint: run isort only
1 parent 51135a4 commit 3257841

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

python/Makefile

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,20 +107,21 @@ fmt:
107107
../ --profile black --nbqa-exclude "(proto|seldon_core/proto/|.eggs|.tox|_README\.ipynb)"
108108

109109
lint:
110-
black \
111-
--check ./ ../testing/scripts \
112-
--exclude "(proto|seldon_core/proto/|.eggs|.tox)"
113-
# isort \
114-
# --check-only ./ ../testing/scripts \
115-
# --skip proto --skip seldon_core/proto --skip .eggs --skip .tox && \
110+
#black \
111+
# --check ./ ../testing/scripts \
112+
# --exclude "(proto|seldon_core/proto/|.eggs|.tox)"
113+
isort \
114+
--check-only ./ ../testing/scripts \
115+
--skip proto --skip seldon_core/proto --skip .eggs --skip .tox
116116
# flake8 && \
117117
# nbqa black \
118118
# ../ --check --nbqa-exclude "(proto|seldon_core/proto/|.eggs|.tox|_README\.ipynb)" && \
119119
# nbqa isort ../ --check-only --profile black --nbqa-exclude "(proto|seldon_core/proto/|.eggs|.tox|_README\.ipynb)" && \
120-
# git -C .. \
121-
# --no-pager diff \
122-
# --exit-code \
123-
# -- python/licenses/license_info.no_versions.csv
120+
git -C .. \
121+
--no-pager diff \
122+
--exit-code \
123+
-- python/licenses/license_info.no_versions.csv
124+
# git -C .. --no-pager diff --exit-code -- python/licenses/license_info.no_versions.csv
124125

125126
.PHONY: clean
126127
clean:

0 commit comments

Comments
 (0)