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 E0611 False Positive #50

Open
XPhyro opened this issue Aug 5, 2022 · 2 comments
Open

Pylint E0611 False Positive #50

XPhyro opened this issue Aug 5, 2022 · 2 comments
Labels

Comments

@XPhyro
Copy link

XPhyro commented Aug 5, 2022

You can see the issues on https://www.codefactor.io/repository/github/xphyro/image-entropy/issues or a screenshot of them below.

2022-08-05_20-35

This is a false positive, and is not caused by pylint. When I run pylint on the file in question, it does not produce an E0611 error.

Here's my pylint version:

$ pylint --version
pylint 2.14.5
astroid 2.12.2
Python 3.10.5 (main, Aug  1 2022, 07:53:20) [GCC 12.1.0]

Edit: It's now fixed on this commit. I don't know why, there were no changes in the relevant parts of the code.

@cordis-dev
Copy link
Contributor

@XPhyro thanks for reporting. We've disabled no-name-in-module (E0611) rule for now. It was sometimes being flagged as false positive due to the way CodeFactor runs pylint command (using files as opposed to packages/directories).

We'll re-enable this rule when pylint tool usage issue is resolved.

@cordis-dev
Copy link
Contributor

Related: pylint-dev/pylint#7578

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants