diff --git a/.gitignore b/.gitignore index c22749ef1..9aec02ef3 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ /po/LINGUAS /test/common/ /test/images/ +/test/static-code diff --git a/Makefile b/Makefile index 38cd2968a..25c991061 100644 --- a/Makefile +++ b/Makefile @@ -34,6 +34,7 @@ all: $(DIST_TEST) COCKPIT_REPO_FILES = \ pkg/lib \ test/common \ + test/static-code \ tools/git-utils.sh \ tools/make-bots \ tools/node-modules \ @@ -188,8 +189,8 @@ print-vm: # run static code checks for python code PYEXEFILES=$(shell git grep -lI '^#!.*python') -codecheck: - flake8 $(PYEXEFILES) +codecheck: test/static-code $(NODE_MODULES_TEST) + test/static-code # convenience target to setup all the bits needed for the integration tests # without actually running them