Skip to content

Commit

Permalink
Revise Makefile cstest target logic
Browse files Browse the repository at this point in the history
  • Loading branch information
martinholmer committed Jan 2, 2025
1 parent 4f09b80 commit 9dbe164
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -85,14 +85,14 @@ TOPLEVEL_JSON_FILES := $(shell ls -l ./*json | awk '{print $$9}')
TAXCALC_JSON_FILES := $(shell ls -l ./taxcalc/*json | awk '{print $$9}')
TESTS_JSON_FILES := $(shell ls -l ./taxcalc/tests/*json | awk '{print $$9}')
PYLINT_FILES := $(shell grep -rl --include="*py" disable=locally-disabled .)
PYLINT_OPTIONS = --disable=locally-disabled --score=no --jobs=4
PYLINT_OPTIONS = --disable=locally-disabled --score=no --jobs=4 --disable=R0801
RECIPE_FILES := $(shell ls -l ./docs/recipes/recipe*.ipynb | awk '{print $$9}')
PYLINT_IGNORE = C0103,C0111,E0401,E1120,R0913,R0914,W0401,W0614
RECIPE_OPTIONS = --disable=$(PYLINT_IGNORE) --score=no --jobs=4
RECIPE_IGNORE = C0103,C0111,E0401,E1120,R0913,R0914,W0401,W0614,R0801
RECIPE_OPTIONS = --disable=$(RECIPE_IGNORE) --score=no --jobs=4

.PHONY=cstest
cstest:
-pycodestyle .
-pycodestyle . | grep -v validation
@-pycodestyle --ignore=E501,E121 $(TOPLEVEL_JSON_FILES)
@-pycodestyle --ignore=E501,E121 $(TAXCALC_JSON_FILES)
@-pycodestyle --ignore=E501,E121 $(TESTS_JSON_FILES)
Expand Down

0 comments on commit 9dbe164

Please sign in to comment.