Skip to content

2.7.3 regression ignores all disabled warnings #4265

Closed
@fmigneault

Description

@fmigneault

Steps to reproduce

Moving from 2.7.2 to 2.7.3, my repo goes from no error to hundreds of problems.
I didn't go through all of them, but many (if not all) seem to be related to ignored errors.
My config: https://github.com/Ouranosinc/Magpie/blob/master/.pylintrc

Current behavior

All these errors are flagged, when they are not just a patch version before.

Messages
--------

+-------------------------------+------------+
|message id                     |occurrences |
+===============================+============+
|unnecessary-lambda             |54          |
+-------------------------------+------------+
|ungrouped-imports              |46          |
+-------------------------------+------------+
|no-self-use                    |30          |
+-------------------------------+------------+
|super-with-arguments           |27          |
+-------------------------------+------------+
|too-many-locals                |25          |
+-------------------------------+------------+
|broad-except                   |21          |
+-------------------------------+------------+
|import-outside-toplevel        |17          |
+-------------------------------+------------+
|cell-var-from-loop             |17          |
+-------------------------------+------------+
|useless-object-inheritance     |14          |
+-------------------------------+------------+
|unused-argument                |12          |
+-------------------------------+------------+
|comparison-with-callable       |11          |
+-------------------------------+------------+
|invalid-envvar-default         |10          |
+-------------------------------+------------+
|wrong-import-order             |9           |
+-------------------------------+------------+
|raise-missing-from             |8           |
+-------------------------------+------------+
|inconsistent-return-statements |6           |
+-------------------------------+------------+
|use-a-generator                |5           |
+-------------------------------+------------+
|too-many-public-methods        |5           |
+-------------------------------+------------+
|len-as-condition               |4           |
+-------------------------------+------------+
|useless-super-delegation       |2           |
+-------------------------------+------------+
|unnecessary-comprehension      |2           |
+-------------------------------+------------+
|too-many-statements            |2           |
+-------------------------------+------------+
|too-many-branches              |2           |
+-------------------------------+------------+
|try-except-raise               |1           |
+-------------------------------+------------+
|import-error                   |1           |
+-------------------------------+------------+

-------------------------------------------------------------------
Your code has been rated at 9.77/10 (previous run: 10.00/10, -0.23)

Expected behavior

No more warning/errors than before, as code didn't change at all.

pylint --version output

Result of pylint --version output:

pylint 2.7.3
astroid 2.5.2
Python 3.7.9 (default, Aug 31 2020, 12:42:55) 
[GCC 7.3.0]

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions