Browse Source

Move flake8 configuration to setup.cfg.

Jelmer Vernooij 6 years ago
parent
commit
9d1182c0fb
2 changed files with 3 additions and 1 deletions
  1. 1 1
      Makefile
  2. 2 0
      setup.cfg

+ 1 - 1
Makefile

@@ -59,7 +59,7 @@ pep8:
 	$(PEP8) dulwich
 
 style:
-	$(FLAKE8) --exclude=build,.git,build-pypy,.tox
+	$(FLAKE8)
 
 before-push: check
 	git diff origin/master | $(PEP8) --diff

+ 2 - 0
setup.cfg

@@ -0,0 +1,2 @@
+[flake8]
+exclude = build,.git,build-pypy,.tox