File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ PIPENV=pipenv
99
1010DATE: =$(shell date +"% Y-% m-% d")
1111VERSION =$(shell $(PYTHON ) -c 'import things_cli; print(things_cli.__version__) ')
12+ SHELL := /usr/bin/env bash -euo pipefail -c
1213
1314help : # # Print help for each target
1415 $(info Things low-level Python CLI.)
@@ -50,10 +51,13 @@ clean: ## Cleanup
5051 @rm -f .coverage
5152
5253auto-style : # # Style the code
53- @if type isort > /dev/null 2>&1 ; then isort . ; \
54+ @echo " isort..."
55+ @if type isort > /dev/null 2>&1 ; then isort -rc . ; \
5456 else echo " SKIPPED. Run '$( PIP) install isort' first." >&2 ; fi
57+ @echo " autoflake..."
5558 @if type autoflake > /dev/null 2>&1 ; then autoflake -r --in-place --remove-unused-variables . ; \
5659 else echo " SKIPPED. Run '$( PIP) install isort' first." >&2 ; fi
60+ @echo " black..."
5761 @if type black > /dev/null 2>&1 ; then black $(SRC_CORE ) ; \
5862 else echo " SKIPPED. Run '$( PIP) install black' first." >&2 ; fi
5963
You can’t perform that action at this time.
0 commit comments