wemake-python-styleguide icon indicating copy to clipboard operation
wemake-python-styleguide copied to clipboard

WPS612 false positive for keyword arguments with different default values

Open simon-liebehenschel opened this issue 3 years ago • 1 comments

What's wrong

I already wrote all in details for Pylint, please read: https://github.com/PyCQA/pylint/issues/7287

class Foo:
    def __init__(*, bar = 10):
         ...

class Child(Foo):
    def __init__(*, bar = 99999):
         super().__init__(bar=bar)

How it should be

no warnings

Flake8 version and plugins

not relevant

pip information

not relevant

OS information

not relevant

simon-liebehenschel avatar Aug 14 '22 15:08 simon-liebehenschel

Good afternoon. I will try to fix this bug.

Valerii-Denisov avatar Dec 09 '22 10:12 Valerii-Denisov