Commit 9d8e9f17 authored by Chris Lamb's avatar Chris Lamb 💬

Don't use a setup.cfg for flake8 tests as it makes it difficult to use it...

Don't use a setup.cfg for flake8 tests as it makes it difficult to use it locally in non-selective mode.
parent fd06241b
......@@ -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),)
......
[flake8]
select=F821
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment