Skip to content

Commit

Permalink
change with end
Browse files Browse the repository at this point in the history
  • Loading branch information
ebehner committed Oct 25, 2023
1 parent ec3e69a commit 3e25907
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,20 +39,10 @@ else
check-format: venv
. $(VENV_PATH)/bin/activate
endif
python -m black --version
python -m black --check .;\
if [ $$? -ne 0 ];\
then \
echo "Not black formatted"; \
exit 1;\
fi
python -m isort --version
python -m isort --check . -s install_api.py -s $(VENV_PATH) --skip-glob dewolf-idioms --skip-glob logic; \
if [ $$? -ne 0 ];\
then \
echo "Not isort formatted"; \
exit 1;\
fi
python -m black --version && \
python -m black --check . && \
python -m isort --version && \
python -m isort --check . -s install_api.py -s $(VENV_PATH) --skip-glob dewolf-idioms --skip-glob logic

.ONESHELL: format
.PHONY: format
Expand Down

0 comments on commit 3e25907

Please sign in to comment.