Skip to content

Commit

Permalink
Merge pull request google#60 from cclauss/patch-1
Browse files Browse the repository at this point in the history
Makefile: Add a make lint-python command
  • Loading branch information
mithro committed Jul 9, 2020
2 parents c219782 + 88ddb1e commit 34859b8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Expand Up @@ -52,8 +52,13 @@ 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

all: README.rst
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
@@ -1,3 +1,5 @@
flake8

# rst_include tool as GitHub doesn't support `.. include::` when rendering
# previews.
rst_include
Expand Down

0 comments on commit 34859b8

Please sign in to comment.