-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
Blocker 🙅Blocks the next releaseBlocks the next releaseBug 🪲C: Pragma'sConfigurationRelated to configurationRelated to configuration
Milestone
Description
Steps to reproduce
- Write code on a computer with a somewhat new pylint (2.4.3 in my example). Get a warning like
useless-object-inheritance
that I want to ignore, as I'm writing code compatible with python2 and python3. - Disable said warning with
# pylint: disable=useless-object-inheritance
. - Get a "Bad option value" when other people run their pylint version (example: 2.3.1; and by people, sometimes I mean docker instances ran from Jenkins that I would rather not rebuild or that depend on other people and I can't modify)
- Try to disable said error with a global
# pylint: disable=bad-option-value
Current behavior
# pylint: disable=bad-option-value
is ignored
# pylint: disable=E0012
is ignored
Expected behavior
To be able to write code that works on several versions of pylint and not having to make sure every computer in the company and every docker container has the same pylint version.
cmur2, vestronge, socketpair, CAM-Gerlach, Knio and 5 more
Metadata
Metadata
Assignees
Labels
Blocker 🙅Blocks the next releaseBlocks the next releaseBug 🪲C: Pragma'sConfigurationRelated to configurationRelated to configuration