Skip to content

Commit d23ad00

Browse files
authored
Merge pull request #20 from carsongee/rc/0.6.0
Rc/0.6.0
2 parents 2fc6457 + 9d509b6 commit d23ad00

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

README.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@ would be the most simple usage and would run pylint for all error messages.
3030
This would use the pylintrc file at /my/pyrc and only error on pylint
3131
Errors and Failures.
3232

33+
You can restrict your test run to only perform pylint checks and not any other
34+
tests by typing:
35+
36+
.. code-block:: shell
37+
38+
py.test --pylint -m pylint
39+
3340
Acknowledgements
3441
================
3542

pytest_pylint.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,8 @@ class PyLintItem(pytest.Item, pytest.File):
111111
def __init__(self, fspath, parent, msg_format=None, pylintrc_file=None):
112112
super(PyLintItem, self).__init__(fspath, parent)
113113

114+
self.add_marker("pylint")
115+
114116
if msg_format is None:
115117
self._msg_format = '{C}:{line:3d},{column:2d}: {msg} ({symbol})'
116118
else:

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@
1313
description='pytest plugin to check source code with pylint',
1414
long_description=open("README.rst").read(),
1515
license="MIT",
16-
version='0.5.0',
16+
version='0.6.0',
1717
author='Carson Gee',
1818
author_email='[email protected]',
1919
url='https://github.com/carsongee/pytest-pylint',
2020
py_modules=['pytest_pylint'],
2121
entry_points={'pytest11': ['pylint = pytest_pylint']},
22-
install_requires=['pytest>=2.4', 'pylint>=1.4.5', 'six'],
22+
install_requires=['pytest>=2.7', 'pylint>=1.4.5', 'six'],
2323
classifiers=[
2424
'Development Status :: 5 - Production/Stable',
2525
'Intended Audience :: Developers',

0 commit comments

Comments
 (0)