diff --git a/Makefile b/Makefile index 0ad4828..a235a27 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/requirements.txt b/requirements.txt index 05f4b41..fe8a2c1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,5 @@ +flake8 + # rst_include tool as GitHub doesn't support `.. include::` when rendering # previews. rst_include