Skip to content

Commit

Permalink
split pylint2 in GNUmakefile
Browse files Browse the repository at this point in the history
pylint2 was splitted into pylint2 and pylinttest2
to improve visibility of errors
  • Loading branch information
M0ses committed Sep 26, 2018
1 parent f1f1f31 commit f569011
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ test3:
TAR_SCM_TESTMODE=1 PYTHONPATH=. python3 tests/test.py 2>&1 | tee ./test3.log

.PHONY: pylint
pylint: pylint2
pylint: pylint2 pylinttest2

.PHONY: pylint3
pylint3:
Expand All @@ -121,11 +121,19 @@ pylint3:
pylint2:
@if [ "x$(PYLINT2)" != "x" ]; then \
$(PYLINT2) --rcfile=./.pylintrc $(PYLINT_READY_MODULES); \
else \
echo "PYLINT2 not set - Skipping tests"; \
fi

.PHONY: pylinttest2
pylinttest2:
@if [ "x$(PYLINT2)" != "x" ]; then \
PYTHONPATH=tests $(PYLINT2) --rcfile=./.pylinttestsrc $(PYLINT_READY_TEST_MODULES); \
else \
echo "PYLINT2 not set - Skipping tests"; \
fi


cover:
PYTHONPATH=. coverage2 run tests/test.py 2>&1 | tee ./cover.log
coverage2 html --include=./TarSCM/*
Expand Down

0 comments on commit f569011

Please sign in to comment.