]> gitweb.michael.orlitzky.com - dunshire.git/blobdiff - makefile
Add a unit test for the ice cream cone solution.
[dunshire.git] / makefile
index f1be9f05c3fd786b693f29a1091baf677c8b4c4f..fa29cf8d7dbb80cb81d3e10b3e6b86f1f871754a 100644 (file)
--- a/makefile
+++ b/makefile
@@ -1,7 +1,16 @@
+SRCDIR := src/dunshire
+
 .PHONY: check
 check:
        python test/suite.py
 
+.PHONY: lint
+lint:
+       PYTHONPATH="$(SRCDIR)" pylint \
+               --reports=n \
+               --good-names='b,c,e1,e2,h,A,C,G,K,_K,L,L_matrix,_L,indented_L' \
+               $(SRCDIR)/*.py
+
 .PHONY: clean
 clean:
-       rm -r __pycache__
+       rm -rf $(SRCDIR)/__pycache__