Skip to content

Useless ignoring of warnings in the noqa.py #3420

@MIXgleb

Description

@MIXgleb

What's wrong

I checked each WPS rule from the SHOULD_BE_RAISED dict from the test_noqa.py and found a discrepancy in the number for some of them.

Rule WPS604: found 2, expected 1
Rule WPS614: found 2, expected 1

I found that one of the two mentioned in noqa.py rules is useless.

Therefore, I think that it is necessary to remove unnecessary rules from the noqa.py so that they show the correct essence.

How it should be

remove unnecessary useless rules WPS604, WPS614 from the noqa.py:

110 - @property  # noqa: WPS614
110 + @property


121 -  """Docs."""  # noqa: WPS604
121 + """Docs."""

Flake8 version and plugins

no matter

pip information

no matter

OS information

no matter

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions