You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why not also include an auto-typing generation? pyright usually detects typing pretty well, and inlay hints it too, but there is nothing that I've seen to add types automatically.
making:
def hello():
pass
to
def hello() -> None:
pass
With pyright hints, is extremely useful.
The text was updated successfully, but these errors were encountered:
@aemonge
The reason why the feature is not included is that the core concept of this plugins is to minimize the effort of importing or of removing import of python scripts.
However, is this need is a very general one, I might consier it developed.
Is there any linter that suggest
defhello():
pass
to
defhello() ->None:
pass
in this way?
Since this plugins fixes the code automatically with the aid of existing linter's output (such as ruff, pyflakes and etc),
automatic fixed like the above would be impossible if there is no such linter.
Why not also include an auto-typing generation? pyright usually detects typing pretty well, and inlay hints it too, but there is nothing that I've seen to add types automatically.
making:
to
With
pyright
hints, is extremely useful.The text was updated successfully, but these errors were encountered: