Skip to content

Commit

Permalink
Use test/static-code for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jelly committed Jun 22, 2023
1 parent 7d366fd commit c9acfcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,4 @@
/po/LINGUAS
/test/common/
/test/images/
/test/static-code
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit c9acfcf

Please sign in to comment.