[virt-tools-list] [virt-bootstrap] [PATCH 1/7] pylint: Provide modules instad files
Cedric Bosdonnat
cbosdonnat at suse.com
Thu Mar 1 09:25:28 UTC 2018
Typo in the commit title: instad -> instead of
On Wed, 2018-02-28 at 00:10 +0000, Radostin Stoyanov wrote:
> 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 at gmail.com>
> ---
> 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 ...")
ACK with the typo fixed.
--
Cedric
More information about the virt-tools-list
mailing list