Closed
Description
Steps to reproduce
- Install pylint 2.5.1 together with pytest-pylint>1.5.0
- Run any unit test with pytest enabling the use of the pylint plugin
Current behavior
INTERNALERROR> File "/home/stefanga/projects/oe-fwrt/.tox/scripts/lib/python3.5/site-packages/pytest_pylint/plugin.py", line 174, in pytest_collection_finish
INTERNALERROR> result = lint.Run(args_list, reporter=reporter, do_exit=False)
INTERNALERROR> TypeError: __init__() got an unexpected keyword argument 'do_exit'
Expected behavior
pytest-pylint successfully work with pylint 2.x
The API change was introduced in #3554 and should be reverted since it breaks the API in a patch release.