Skip to content

Commit

Permalink
Merge pull request #34 from carsongee/rc/0.8.0
Browse files Browse the repository at this point in the history
Rc/0.8.0
  • Loading branch information
carsongee authored Feb 2, 2018
2 parents 07518ba + e7189b5 commit 992d7b0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 7 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "3.6"
Expand Down
6 changes: 6 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~

Expand Down
5 changes: 3 additions & 2 deletions pytest_pylint.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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):
Expand Down
7 changes: 4 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
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='[email protected]',
url='https://github.com/carsongee/pytest-pylint',
Expand All @@ -25,7 +25,8 @@
'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',
],
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py27,py33,py34,py35,py36
envlist = py27,py34,py35,py36
skip_missing_interpreters =
true
[testenv]
Expand Down

0 comments on commit 992d7b0

Please sign in to comment.