-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathMakefile
25 lines (17 loc) · 930 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
.PHONY: clean qa
clean:
rm -f pylint.html pylint.json pylint.simple.html pylint.simple.json pylint.template.html
qa:
isort pylint_json2html
flake8 pylint_json2html
# test commands
pylint.json: tests/*.py pylint_json2html/*.py
pylint --load-plugins=pylint_json2html --output-format=jsonextended tests > pylint.json || exit 0
pylint.html: pylint.json pylint_json2html/templates/*.jinja2
pylint-json2html --input-format jsonextended --output pylint.html pylint.json
pylint.simple.json: tests/*.py pylint_json2html/*.py
pylint --output-format=json tests > pylint.simple.json || exit 0
pylint.simple.html: pylint.simple.json pylint_json2html/templates/*.jinja2
pylint-json2html --input-format json --output pylint.simple.html pylint.simple.json
pylint.template.html: pylint.json tests/template.jinja
pylint-json2html --template tests/template.jinja --input-format jsonextended --output pylint.template.html pylint.json