[Python-modules-commits] [sphinx-celery] 02/04: flake8: Ignore non-existing rule to enable all errors

Christopher Stuart Hoskin mans0954 at moszumanska.debian.org
Fri Aug 18 07:00:25 UTC 2017


This is an automated email from the git hooks/post-receive script.

mans0954 pushed a commit to tag v1.3.0
in repository sphinx-celery.

commit 76fc669bd7242edc568a15d1d81ad7b290d54c18
Author: Ask Solem <ask at celeryproject.org>
Date:   Fri May 27 13:18:33 2016 -0700

    flake8: Ignore non-existing rule to enable all errors
---
 Makefile | 3 ++-
 tox.ini  | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile b/Makefile
index 7f2e88d..c766c30 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,8 @@ PROJ=sphinx_celery
 PYTHON=python
 
 flakecheck:
-	flake8 "$(PROJ)"
+	# the only way to enable all errors is to ignore something bogus
+	flake8 --ignore=X999 "$(PROJ)"
 
 flakediag:
 	-$(MAKE) flakecheck
diff --git a/tox.ini b/tox.ini
index 7c46867..1f521de 100644
--- a/tox.ini
+++ b/tox.ini
@@ -28,7 +28,7 @@ commands =
 [testenv:flake8]
 deps = -r{toxinidir}/requirements/pkgutils.txt
 commands =
-    flake8 {toxinidir}/sphinx_celery
+    flake8 --ignore=X999 {toxinidir}/sphinx_celery
 
 [testenv:flakeplus]
 deps = -r{toxinidir}/requirements/pkgutils.txt

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/sphinx-celery.git



More information about the Python-modules-commits mailing list