-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The reason you might be seeing this in Zed and not other IDEs is likely the choice of language server (which can have different behaviors). Zed uses Since your Updating your override to def update(self, *args, **kwargs):
... should get the Language Server to stop giving you that error. Alternatively you can disable that setting in the This section in Zed docs covers how to configure |
Beta Was this translation helpful? Give feedback.
The reason you might be seeing this in Zed and not other IDEs is likely the choice of language server (which can have different behaviors). Zed uses
pyright
.Since your
update()
function is overriding the implementation in theSprite
class which takes the*args
and**kwargs
parameters, I believe this is correct behavior (even though your code will likely run fine without explicitly adding it).Updating your override to
should get the Language Server to stop giving you that error.
Alternatively you can disable that setting in the
pyright
configuration: settingreportIncompatibleMethodOverride
tonone
should do the trick. See https://microsoft.git…