Browse Source

Moves pydocstyle config to setup.cfg

Ask Solem 8 years ago
parent
commit
90e7d54332
3 changed files with 5 additions and 2 deletions
  1. 1 1
      Makefile
  2. 3 0
      setup.cfg
  3. 1 1
      tox.ini

+ 1 - 1
Makefile

@@ -93,7 +93,7 @@ flakecheck:
 	$(FLAKE8) "$(PROJ)" "$(TESTDIR)"
 
 pep257check:
-	$(PYDOCSTYLE) --ignore=D102,D104,D203,D105 "$(PROJ)"
+	$(PYDOCSTYLE) "$(PROJ)"
 
 flakediag:
 	-$(MAKE) flakecheck

+ 3 - 0
setup.cfg

@@ -12,6 +12,9 @@ all_files = 1
 # whenever it makes the code more readable.
 ignore = N806, N802, N801, N803
 
+[pep257]
+ignore = D102,D104,D203,D105
+
 [bdist_rpm]
 requires = pytz >= 2011b
            billiard >= 3.3.0.17

+ 1 - 1
tox.ini

@@ -66,4 +66,4 @@ commands =
 
 [testenv:pydocstyle]
 commands =
-    pydocstyle --ignore=D102,D104,D203,D105 {toxinidir}/celery
+    pydocstyle {toxinidir}/celery