Skip to content

Enable disabled pylint rules pt. 2#137

Merged
daka1510 merged 3 commits into
Qiskit:mainfrom
kt474:pylint-rules-part-2
Feb 7, 2022
Merged

Enable disabled pylint rules pt. 2#137
daka1510 merged 3 commits into
Qiskit:mainfrom
kt474:pylint-rules-part-2

Conversation

@kt474
Copy link
Copy Markdown
Contributor

@kt474 kt474 commented Feb 3, 2022

Summary

I'm indifferent about most of the remaining rules, but this PR takes care of :
invalid-name, super-with-arguments, and bad-mcs-classmethod-argument

Highlighted the remaining rules in a comment here

Details and comments

Fixes part of #42

@kt474 kt474 marked this pull request as ready for review February 4, 2022 02:35
Comment thread .pylintrc Outdated
Comment on lines +71 to +78
consider-using-f-string, # unnecessary
consider-using-with, # TODO: investigate / re-enable
docstring-first-line-empty, # TODO: investigate / re-enable
docstring-first-line-empty, # unnecessary
duplicate-code, # too verbose
fixme, # avoid that to do annotations show up as warnings
invalid-name, # TODO: investigate / re-enable
missing-param-doc, # TODO: investigate / re-enable (issues with kwargs docs)
missing-param-doc, # unnecessary
no-else-return, # relax "elif" after a clause with a return
no-member, # TODO: investigate / re-enable
no-member, # unecessary
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It may help future contributors (or ourselves) to include a short explanation why you suggest that these rules are unnecessary.

@daka1510 daka1510 merged commit 01e1f5b into Qiskit:main Feb 7, 2022
@kt474 kt474 deleted the pylint-rules-part-2 branch February 7, 2022 18:23
blakejohnson pushed a commit to blakejohnson/qiskit-ibm-runtime that referenced this pull request May 26, 2023
* Fix QAOA and VQE after Terra 0.20 release

* is_built in HWQAOA

* ensure is_built is correctly set

Co-authored-by: Julien Gacon <gaconju@gmail.com>
blakejohnson pushed a commit to blakejohnson/qiskit-ibm-runtime that referenced this pull request May 26, 2023
blakejohnson pushed a commit to blakejohnson/qiskit-ibm-runtime that referenced this pull request May 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants