-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Enhancement ✨Improvement to a componentImprovement to a componentHigh priorityIssue with more than 10 reactionsIssue with more than 10 reactionsNeeds decision 🔒Needs a decision before implemention or rejectionNeeds a decision before implemention or rejectionNeeds specification 🔐Accepted as a potential improvement, and needs to specify edge cases, message names, etc.Accepted as a potential improvement, and needs to specify edge cases, message names, etc.
Milestone
Description
Is your feature request related to a problem? Please describe
Yes. The problem is that every linter out there has its own pragma control, leading to a mess if you want to support bandit, pylint, pyflakes, flake8, mypy:
… # type: … # noqa: E501 # pylint: disable=line-too-long # nosec
I think it would help if we'd also support noqa with an error message (not bare noqa which I'm still against using in pylint). It could also help with the adoption as well with keeping your codebase linter agnostic if you plan to use just pylint and flake8.
Describe the solution you'd like
Support noqa: error message so noqa: no-member or noqa: E1101 in pylint.
tuukkamustonen, The-Compiler, eirnym, edran, goerz and 37 more
Metadata
Metadata
Assignees
Labels
Enhancement ✨Improvement to a componentImprovement to a componentHigh priorityIssue with more than 10 reactionsIssue with more than 10 reactionsNeeds decision 🔒Needs a decision before implemention or rejectionNeeds a decision before implemention or rejectionNeeds specification 🔐Accepted as a potential improvement, and needs to specify edge cases, message names, etc.Accepted as a potential improvement, and needs to specify edge cases, message names, etc.