From 04b2941484ab9ce9f38ef3edd3a9143eeaf07931 Mon Sep 17 00:00:00 2001 From: Marius Gedminas Date: Mon, 4 May 2020 22:08:18 +0300 Subject: [PATCH] Update check-manifest invocation check-manifest 0.42 updated `--ignore` handling to be more consistent with MANIFEST.in global-exclude directives. As a result, `tests*` no longer matches files inside a `tests` directory, and you have to use `tests/**` instead. As an extra complication, check-manifest drops Python 2.7 support. Since you still have py27 in this tox.ini, this means you get an older check-manifest 0.41, and you have to tell it to ignore the empty `tests` directory that remains after you exclude all the files in it. For details see the second half of https://github.com/mgedmin/check-manifest/issues/98 I apologize for the inconvenience! --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index 9a7ab006..0c0368a9 100644 --- a/tox.ini +++ b/tox.ini @@ -34,7 +34,7 @@ deps = flake8 pytest commands = - check-manifest --ignore tox.ini,tests* + check-manifest --ignore 'tox.ini,tests,tests/**' # This repository uses a Markdown long_description, so the -r flag to # `setup.py check` is not needed. If your project contains a README.rst, # use `python setup.py check -m -r -s` instead.