Feature
We can check positional argument names for overriding functions.
class A:
def f(self, x: int) -> None:
pass
class B(A):
def f(self, _x: int) -> None: # this *should* error, but doesn't currently
pass
Pitch
Well, ignoring positional arguments is obviously not type safe. It's annoying, sure, but in my mind that's the class of checks that --extra-checks encompasses (technically correct but annoying).
Feature
We can check positional argument names for overriding functions.
Pitch
Well, ignoring positional arguments is obviously not type safe. It's annoying, sure, but in my mind that's the class of checks that
--extra-checksencompasses (technically correct but annoying).