Skip to content

--output-format=junit does not generates the output #8368

@81piyush

Description

@81piyush

Bug description

On running pylint (version : 2.16.2) with parameter --output-format=junit does not generates the output.

But running the pylint version 2.14.5 with the same configuration on the same folder/files generates the xml output.

Both executes with below mentioned dependencies (pylint-junit, junit-xml) and configuration

Configuration

in the .pylintrc file:

[MAIN]
load-plugins=pylint_junit

Command used

pylint %cd% --output-format=junit

Pylint output

None
image

Expected behavior

Should generate the xml based results

Pylint version

pylint 2.16.2
astroid 2.14.2
Python 3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)]

OS / Environment
Windows10

Additional dependencies
pylint-junit
junit-xml

Metadata

Metadata

Assignees

No one assigned

    Labels

    Downstream Bug 🪲The problem happens in a lib depending on pylint, not pylint

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions