]> git.cworth.org Git - turbot/blobdiff - Makefile
Add a "make flake" recipe and clean up some style bugs flake8 noticed
[turbot] / Makefile
index c0984d9916fd3636cd8c76f559add992889251a8..606418e25071788b47ff4459e983045e2c571602 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,6 +22,10 @@ ifndef VIRTUAL_ENV
        $(error "No virtualenv active. Try '. ./env/bin/activate'")
 endif
 
+.PHONY: flake
+flake:
+       flake8 --exclude=env,.deploy*
+
 .PHONY: bootstrap
 bootstrap:
        @echo "=== Creating python virtual environment ==="