Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pylint issue no-member in _cmd_listener.py on py39 #1001

Closed
andy-maier opened this issue Jul 4, 2021 · 1 comment · Fixed by #999
Closed

Pylint issue no-member in _cmd_listener.py on py39 #1001

andy-maier opened this issue Jul 4, 2021 · 1 comment · Fixed by #999

Comments

@andy-maier
Copy link
Contributor

See for example this test run: https://github.com/pywbem/pywbemtools/pull/999/checks?check_run_id=2981787090

Happens only on py39 with latest package levels.

Pylint version: 2.9.3.

I opened Pylint issue pylint-dev/pylint#4667

@andy-maier andy-maier self-assigned this Jul 4, 2021
@andy-maier andy-maier added this to the 1.0.0 milestone Jul 4, 2021
@andy-maier andy-maier added the roll back needed Roll back into latest fix branch is needed label Jul 4, 2021
andy-maier added a commit that referenced this issue Jul 4, 2021
Details:

* Fixed new issue deprecated-class when importing from collections as a fallback
  on Python versions that do not yet have collections.abc.

* Fixed consider-using-with on an open/close sequence in test code by using with.

* Circumvented a pylint issue where it raises no-member on Python 3.9 when
  accessing argparse parsing result members. (see issue #1001)

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
@andy-maier andy-maier linked a pull request Jul 4, 2021 that will close this issue
@andy-maier andy-maier removed the roll back needed Roll back into latest fix branch is needed label Jul 4, 2021
@andy-maier
Copy link
Contributor Author

A rollback is not needed, because the code that causes the new issues to be raised does not yet exist in 0.9.

andy-maier added a commit that referenced this issue Jul 4, 2021
Details:

* Fixed new issue deprecated-class when importing from collections as a fallback
  on Python versions that do not yet have collections.abc.

* Fixed consider-using-with on an open/close sequence in test code by using with.

* Circumvented a pylint issue where it raises no-member on Python 3.9 when
  accessing argparse parsing result members. (see issue #1001)

Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant