Browse Source

Fixes flakes

Ask Solem 8 years ago
parent
commit
7c3e48477e
2 changed files with 3 additions and 4 deletions
  1. 1 2
      Makefile
  2. 2 2
      tox.ini

+ 1 - 2
Makefile

@@ -90,8 +90,7 @@ configcheck:
 	(cd "$(SPHINX_DIR)"; $(MAKE) configcheck)
 
 flakecheck:
-	# the only way to enable all-1 errors is to ignore one of them.
-	$(FLAKE8) --ignore=X999 "$(PROJ)" "$(TESTDIR)"
+	$(FLAKE8) "$(PROJ)" "$(TESTDIR)"
 
 pep257check:
 	$(PYDOCSTYLE) --ignore=D102,D104,D203,D105 "$(PROJ)"

+ 2 - 2
tox.ini

@@ -58,7 +58,7 @@ commands =
 
 [testenv:flake8]
 commands =
-    flake8 --ignore=X999 {toxinidir}/celery {toxinidir}/t
+    flake8 {toxinidir}/celery {toxinidir}/t
 
 [testenv:flakeplus]
 commands =
@@ -66,4 +66,4 @@ commands =
 
 [testenv:pydocstyle]
 commands =
-    pydocstyle --ignore=D102,D104,D203,D105 celery
+    pydocstyle --ignore=D102,D104,D203,D105 {toxinidir}/celery