Browse Source

Exclude build and .git when looking for style violations.

Jelmer Vernooij 8 years ago
parent
commit
b5ee25b887
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Makefile

+ 2 - 2
Makefile

@@ -58,8 +58,8 @@ flakes:
 pep8:
 	$(PEP8) dulwich
 
-style8:
-	$(FLAKE8)
+style:
+	$(FLAKE8) --exclude=build,.git
 
 before-push: check
 	git diff origin/master | $(PEP8) --diff