[Python-modules-commits] [pytest-pylint] 01/08: Import pytest-pylint_0.8.0.orig.tar.gz

Ondrej Koblizek kobla-guest at moszumanska.debian.org
Wed Feb 7 11:56:43 UTC 2018


This is an automated email from the git hooks/post-receive script.

kobla-guest pushed a commit to branch master
in repository pytest-pylint.

commit 06cff8f1d012efc3f52c941122086538bcd7b1fa
Author: Ondřej Kobližek <ondrej.koblizek at firma.seznam.cz>
Date:   Wed Feb 7 11:55:16 2018 +0100

    Import pytest-pylint_0.8.0.orig.tar.gz
---
 .travis.yml      | 1 -
 README.rst       | 6 ++++++
 pytest_pylint.py | 5 +++--
 setup.py         | 7 ++++---
 tox.ini          | 2 +-
 5 files changed, 14 insertions(+), 7 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index c2b44c3..3d680ec 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,7 +1,6 @@
 language: python
 python:
   - "2.7"
-  - "3.3"
   - "3.4"
   - "3.5"
   - "3.6"
diff --git a/README.rst b/README.rst
index 5dcd0fd..7e7f33e 100644
--- a/README.rst
+++ b/README.rst
@@ -47,6 +47,12 @@ This code is heavily based on
 Releases
 ========
 
+0.8.0
+~~~~~
+
+- `bdrung <https://github.com/bdrung>`_ corrected inconsitent returns in a function
+- Dropped Python 3.3 support
+
 0.7.1
 ~~~~~
 
diff --git a/pytest_pylint.py b/pytest_pylint.py
index 1ba8de0..423da9a 100644
--- a/pytest_pylint.py
+++ b/pytest_pylint.py
@@ -117,9 +117,9 @@ def pytest_collect_file(path, parent):
     """Collect files on which pylint should run"""
     config = parent.config
     if not config.option.pylint:
-        return
+        return None
     if path.ext != ".py":
-        return
+        return None
     rel_path = get_rel_path(path.strpath, parent.fspath.strpath)
     if parent.pylint_config is None:
         parent.pylint_files.add(rel_path)
@@ -131,6 +131,7 @@ def pytest_collect_file(path, parent):
         return PyLintItem(
             path, parent, parent.pylint_msg_template, parent.pylintrc_file
         )
+    return None
 
 
 def pytest_collection_finish(session):
diff --git a/setup.py b/setup.py
index 7d55568..48cae17 100644
--- a/setup.py
+++ b/setup.py
@@ -12,8 +12,8 @@ setup(
     name='pytest-pylint',
     description='pytest plugin to check source code with pylint',
     long_description=open("README.rst").read(),
-    license="MIT",
-    version='0.7.1',
+    license='MIT',
+    version='0.8.0',
     author='Carson Gee',
     author_email='x at carsongee.com',
     url='https://github.com/carsongee/pytest-pylint',
@@ -25,7 +25,8 @@ setup(
         'Intended Audience :: Developers',
         'License :: OSI Approved :: MIT License',
         'Programming Language :: Python :: 2.7',
-        'Programming Language :: Python :: 3.3',
         'Programming Language :: Python :: 3.4',
+        'Programming Language :: Python :: 3.5',
+        'Programming Language :: Python :: 3.6',
     ],
 )
diff --git a/tox.ini b/tox.ini
index 34f73d9..63c5ae6 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
 [tox]
-envlist = py27,py33,py34,py35,py36
+envlist = py27,py34,py35,py36
 skip_missing_interpreters =
     true
 [testenv]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/pytest-pylint.git



More information about the Python-modules-commits mailing list