Merge pull request #60 from cclauss/patch-1
Makefile: Add a make lint-python command
This commit is contained in:
commit
34859b8011
7
Makefile
7
Makefile
|
@ -52,8 +52,13 @@ check-licenses:
|
||||||
|
|
||||||
.PHONY: check-licenses
|
.PHONY: check-licenses
|
||||||
|
|
||||||
|
lint-python:
|
||||||
|
$(IN_CONDA_ENV) flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
|
||||||
|
|
||||||
check: check-licenses
|
.PHONY: lint-python
|
||||||
|
|
||||||
|
|
||||||
|
check: check-licenses lint-python
|
||||||
@true
|
@true
|
||||||
|
|
||||||
all: README.rst
|
all: README.rst
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
flake8
|
||||||
|
|
||||||
# rst_include tool as GitHub doesn't support `.. include::` when rendering
|
# rst_include tool as GitHub doesn't support `.. include::` when rendering
|
||||||
# previews.
|
# previews.
|
||||||
rst_include
|
rst_include
|
||||||
|
|
Loading…
Reference in New Issue