Skip to content

Commit

Permalink
makefile: add python checking shortcut
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJJ committed Mar 21, 2017
1 parent e28593b commit 853c165
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Expand Up @@ -137,6 +137,10 @@ checkchanged:
checkuncommited:
python3 -m buildsystem.codecompliance --all --only-changed-files=HEAD

.PHONY: checkpy
checkpy:
python3 -m buildsystem.codecompliance --pystyle --pylint

.PHONY: help
help: $(BUILDDIR)/Makefile
@echo "openage Makefile"
Expand Down Expand Up @@ -171,6 +175,7 @@ help: $(BUILDDIR)/Makefile
@echo "checkfast -> fast checks only"
@echo "checkchanged -> full check for all files changed since origin/master"
@echo "checkuncommited -> full check for all currently uncommited files"
@echo "checkpy -> check python compliance"
@echo ""
@echo "test -> tests + checkfast. this is what you should use for regular devbuilds"
@echo ""
Expand Down

0 comments on commit 853c165

Please sign in to comment.