]> gitweb.michael.orlitzky.com - dunshire.git/blob - makefile
Fix (or cover up) a bunch of pylint warnings.
[dunshire.git] / makefile
1 SRCDIR := src/dunshire
2 SRCS := $(SRCDIR)/*.py
3
4 doc: $(SRCS) doc/source/conf.py doc/makefile
5 sphinx-apidoc -f -o doc/source $(SRCDIR)
6 cd doc && $(MAKE) html
7
8 .PHONY: check
9 check:
10 python test/suite.py
11
12 .PHONY: lint
13 lint:
14 PYTHONPATH="$(SRCDIR)" pylint \
15 --reports=n \
16 --good-names='b,c,e1,e2,h,A,C,G,K,_K,L,L_matrix,_L,indented_L,M' \
17 $(SRCS)
18
19 .PHONY: clean
20 clean:
21 rm -rf $(SRCDIR)/__pycache__