Merge pull request #60 from cclauss/patch-1

Makefile: Add a make lint-python command
This commit is contained in:
Tim Ansell 2020-07-09 09:53:25 -07:00 committed by GitHub
commit 34859b8011
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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