Skip to content

Help to figure out why pylint is not triggered during the pytest run #175

@terlar

Description

@terlar

Hello, I started using this a while back, just before the 0.19.0 release (0.18.0)

At that point it was triggering on pytest, although we had those errors. Since this plugin was updated to 0.19.0 it stopped triggering and I cannot figure out why and how to get it working again.

I do see the plugin being loaded in the output, but it never executes. If I do have some pylint errors it doesn't fail. Running pylint individually works.

$ pytest
================================================ test session starts ================================================
platform linux -- Python 3.10.6, pytest-7.1.3, pluggy-1.0.0
rootdir: .../cli, configfile: pyproject.toml, testpaths: cli, tests
plugins: xdist-2.5.0, forked-1.4.0, mypy-0.9.1, pylint-0.19.0, cov-3.0.0

Any ideas what goes wrong and how to debug this. Could it have something to do with xdist, I did see it mentioned in another issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions