Skip to content

Breaking API change in 2.5.1 #3590

Closed
Closed
@gangefors

Description

@gangefors

Steps to reproduce

  1. Install pylint 2.5.1 together with pytest-pylint>1.5.0
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions