]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - makefile
Add one more variable exception to the `make lint` target.
[dunshire.git] / makefile
index 9f59a36bec439d23ab78cdb1bd24db1b531187af..95eb2075a047c007a046684e3790c711ba27132c 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,11 +1,16 @@
+SRCDIR := src/dunshire
+
 .PHONY: check
 check:
        python test/suite.py
 
 .PHONY: lint
 lint:
-       pylint --reports=n *.py
+       PYTHONPATH="$(SRCDIR)" pylint \
+               --reports=n \
+               --good-names='b,c,h,A,C,G,_K,_L,indented_L' \
+               $(SRCDIR)/*.py
 
 .PHONY: clean
 clean:
-       rm -r __pycache__
+       rm -rf $(SRCDIR)/__pycache__