commit:     ed835b66bd86b465893968b7a29b73eaef6cd5e6
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 19 07:09:37 2021 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Tue Jan 19 07:17:19 2021 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=ed835b66

tox.ini: fix pylint command

The previous command did not work correctly due to quirks of
the pylint.utils.expand_modules function.

Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 tox.ini | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tox.ini b/tox.ini
index cebf0e49c..585752686 100644
--- a/tox.ini
+++ b/tox.ini
@@ -20,6 +20,6 @@ deps =
 setenv =
        PYTHONPATH={toxinidir}/lib
 commands =
-       bash -c 'rm -rf build && PYTHONPATH=$PWD/lib:$PWD/repoman/lib pylint *'
+       bash -c 'rm -rf build && PYTHONPATH=$PWD/lib:$PWD/repoman/lib pylint 
bin/* lib/* repoman/bin/* repoman/lib/*'
        python -b -Wd setup.py test
        bash -c 'if python -c "import lxml.etree"; then python -b -Wd 
repoman/setup.py test; else echo "repoman tests skipped due to lxml breakage"; 
fi'

Reply via email to