Skip to content

Pylint tools#6609

Merged
mergify[bot] merged 5 commits into
Qiskit:mainfrom
levbishop:tools_pylint
Jun 22, 2021
Merged

Pylint tools#6609
mergify[bot] merged 5 commits into
Qiskit:mainfrom
levbishop:tools_pylint

Conversation

@levbishop
Copy link
Copy Markdown
Member

@levbishop levbishop commented Jun 20, 2021

Together with #6606 and #6607 this is a partial solution to #6608
The remaining file with lint issues is subunit_to_junit.py which I don't understand well enough to fix it.
After fixing subunit_to_junit.py we can additionally add the tools directory to the pylint invocation lines, and CI.

Fixes #6608

@levbishop levbishop requested a review from a team as a code owner June 20, 2021 21:56
mtreinish added a commit to mtreinish/qiskit-core that referenced this pull request Jun 21, 2021
This commit fixes several pylint issues identified in the
tools/subunit_to_junit script. This script is only used in CI to adapt
the subunit v2 output we get from stestr to the junitxml format expected
by azure pipelines for feeding the analytics. Most of the issues were
over lack of internal documentation for the internal functions. As we're
looking at running pylint on the tools dir in Qiskit#6609 this commit makes the
necessary changes for pylint to pass.
@mtreinish
Copy link
Copy Markdown
Member

I pushed up a pylint fix for the subunit to junit script here: #6614

mergify Bot added a commit that referenced this pull request Jun 21, 2021
This commit fixes several pylint issues identified in the
tools/subunit_to_junit script. This script is only used in CI to adapt
the subunit v2 output we get from stestr to the junitxml format expected
by azure pipelines for feeding the analytics. Most of the issues were
over lack of internal documentation for the internal functions. As we're
looking at running pylint on the tools dir in #6609 this commit makes the
necessary changes for pylint to pass.

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
mtreinish
mtreinish previously approved these changes Jun 21, 2021
@mtreinish mtreinish added automerge Changelog: None Do not include in the GitHub Release changelog. type: qa Issues and PRs that relate to testing and code quality labels Jun 21, 2021
@mergify mergify Bot merged commit 9cc325e into Qiskit:main Jun 22, 2021
@levbishop levbishop deleted the tools_pylint branch December 2, 2021 04:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: None Do not include in the GitHub Release changelog. type: qa Issues and PRs that relate to testing and code quality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pylint not applied to tools directory

2 participants