Skip to content

Commit

Permalink
Merge pull request #20 from carsongee/rc/0.6.0
Browse files Browse the repository at this point in the history
Rc/0.6.0
  • Loading branch information
carsongee authored Jul 23, 2016
2 parents 2fc6457 + 9d509b6 commit d23ad00
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
7 changes: 7 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@ would be the most simple usage and would run pylint for all error messages.
This would use the pylintrc file at /my/pyrc and only error on pylint
Errors and Failures.

You can restrict your test run to only perform pylint checks and not any other
tests by typing:

.. code-block:: shell
py.test --pylint -m pylint
Acknowledgements
================

Expand Down
2 changes: 2 additions & 0 deletions pytest_pylint.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,8 @@ class PyLintItem(pytest.Item, pytest.File):
def __init__(self, fspath, parent, msg_format=None, pylintrc_file=None):
super(PyLintItem, self).__init__(fspath, parent)

self.add_marker("pylint")

if msg_format is None:
self._msg_format = '{C}:{line:3d},{column:2d}: {msg} ({symbol})'
else:
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
description='pytest plugin to check source code with pylint',
long_description=open("README.rst").read(),
license="MIT",
version='0.5.0',
version='0.6.0',
author='Carson Gee',
author_email='[email protected]',
url='https://github.com/carsongee/pytest-pylint',
py_modules=['pytest_pylint'],
entry_points={'pytest11': ['pylint = pytest_pylint']},
install_requires=['pytest>=2.4', 'pylint>=1.4.5', 'six'],
install_requires=['pytest>=2.7', 'pylint>=1.4.5', 'six'],
classifiers=[
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
Expand Down

0 comments on commit d23ad00

Please sign in to comment.