From a40f88e24b2dbda5b37e9a80e952c1e3b2b742c0 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Tue, 27 Feb 2018 21:08:52 +0000 Subject: pylint: Provide modules instead of files We should give Pylint the name of a python package or module. [1] A python module is a file containing Python definitions and statements or directory containing the input script (__init__.py) [2] 1: https://pylint.readthedocs.io/en/latest/user_guide/run.html#invoking-pylint 2: https://docs.python.org/2/tutorial/modules.html Signed-off-by: Radostin Stoyanov --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 6e29de2..54a2cd9 100755 --- a/setup.py +++ b/setup.py @@ -96,7 +96,7 @@ class CheckPylint(setuptools.Command): """ res = 0 - files = ' '.join(["setup.py", "src/virtBootstrap/*.py", "tests/*.py"]) + files = ' '.join(["setup.py", "src/virtBootstrap/", "tests/"]) output_format = "colorized" if sys.stdout.isatty() else "text" print(">>> Running pycodestyle ...") -- cgit