[diffoscope] 01/01: Don't use a setup.cfg for flake8 tests as it makes it difficult to use it locally in non-selective mode.
Chris Lamb
chris at chris-lamb.co.uk
Sat Sep 9 09:17:21 CEST 2017
This is an automated email from the git hooks/post-receive script.
lamby pushed a commit to branch master
in repository diffoscope.
commit 9d8e9f1700825b091b9835ef98e914a6b9708fe7
Author: Chris Lamb <lamby at debian.org>
Date: Sat Sep 9 08:16:35 2017 +0100
Don't use a setup.cfg for flake8 tests as it makes it difficult to use it locally in non-selective mode.
---
debian/rules | 2 +-
setup.cfg | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/debian/rules b/debian/rules
index cac8f0a..577c3ee 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,7 @@ export PATH := $(CURDIR)/bin:$(PATH)
export PYBUILD_DESTDIR = debian/diffoscope
export PYBUILD_TEST_ARGS = -vv -r sxX -l --cov=diffoscope --cov-report=term-missing --cov-report=html
export PYBUILD_AFTER_TEST = debian/tests/basic-command-line
-export PYBUILD_BEFORE_TEST = flake8
+export PYBUILD_BEFORE_TEST = flake8 --config=/dev/null --select=F821
export PYBUILD_AFTER_INSTALL = rm -rvf '{destdir}/{install_dir}/htmlcov' '{destdir}/{install_dir}/.coverage'
ifneq ($(JENKINS_EXPORTS_DIR),)
diff --git a/setup.cfg b/setup.cfg
deleted file mode 100644
index e6087e1..0000000
--- a/setup.cfg
+++ /dev/null
@@ -1,2 +0,0 @@
-[flake8]
-select=F821
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the diffoscope
mailing list