summaryrefslogtreecommitdiffstats
path: root/setup.py
diff options
context:
space:
mode:
authorRadostin Stoyanov <rstoyanov1@gmail.com>2018-02-27 21:08:52 +0000
committerRadostin Stoyanov <rstoyanov1@gmail.com>2018-03-01 14:22:30 +0000
commita40f88e24b2dbda5b37e9a80e952c1e3b2b742c0 (patch)
tree237f027fd8d03a4ead619bffac88c8cf1d50715e /setup.py
parenta223b15938237665fe135cd710f4301ea23bf85d (diff)
downloadvirt-bootstrap.git-a40f88e24b2dbda5b37e9a80e952c1e3b2b742c0.tar.gz
virt-bootstrap.git-a40f88e24b2dbda5b37e9a80e952c1e3b2b742c0.tar.xz
virt-bootstrap.git-a40f88e24b2dbda5b37e9a80e952c1e3b2b742c0.zip
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 <rstoyanov1@gmail.com>
Diffstat (limited to 'setup.py')
-rwxr-xr-xsetup.py2
1 files changed, 1 insertions, 1 deletions
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 ...")