-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Labels
False Negative 🦋No message is emitted but something is wrong with the codeNo message is emitted but something is wrong with the codeGood first issueFriendly and approachable by new contributorsFriendly and approachable by new contributorsNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementationWork in progress
Milestone
Description
Bug description
The option --enable
does not give an error when an unknown error code is used. It should give an error.
What I was trying is to enable just a group of warnings. I tried W1
and W1*
. No error but also no warning. But the code does have some W1203 problems in it.
Configuration
No response
Command used
pylint --disable=all --enable=foobar bandas.py
Pylint output
-------------------------------------------------------------------- Your code has been rated at 10.00/10 (previous run: 10.00/10, +0.00)
Expected behavior
Give an error.
Pylint version
pylint 2.17.7
astroid 2.15.8
Python 3.11.2 (main, Mar 13 2023, 12:18:29) [GCC 12.2.0]
OS / Environment
Debian 12 arm64
Additional dependencies
No response
fellhorn
Metadata
Metadata
Assignees
Labels
False Negative 🦋No message is emitted but something is wrong with the codeNo message is emitted but something is wrong with the codeGood first issueFriendly and approachable by new contributorsFriendly and approachable by new contributorsNeeds PRThis issue is accepted, sufficiently specified and now needs an implementationThis issue is accepted, sufficiently specified and now needs an implementationWork in progress