소스 검색

Move flake8 configuration to setup.cfg.

Jelmer Vernooij 6 년 전
부모
커밋
9d1182c0fb
2개의 변경된 파일3개의 추가작업 그리고 1개의 파일을 삭제
  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