basedmypy icon indicating copy to clipboard operation
basedmypy copied to clipboard

`work_not_properly_function_names` doesn't work on methods with kwargs

Open DetachHead opened this issue 1 year ago • 0 comments

Describe the problem, ie expected/actual result (if it's not blatantly obvious)

No response

Gist to reproduce

from typing import override

class Foo:
    def foo(self, a: object, **options: object): ...


class Bar(Foo):
    @override
    def foo(self, b: object, **options: object): ... # error

Basedmypy version

No response

Command-line flags

No response

Configuration options from pyproject.toml (and other config files)

work_not_properly_function_names = true

Python version used

No response

Operating system and version

No response

DetachHead avatar Jan 10 '24 00:01 DetachHead