#Python #PythonTyping #Pyright #Pylance #Mypy
Is there a way to create type stub only for part of the library?
For example: I want to include types for a single object, but don't want to maintain full copy of the library.
https://github.com/carltongibson/django-filter/pull/1585/files
#mypy #pylance #pyright #pythontyping #Python
https://github.com/microsoft/pylance-release/discussions/4409
What do you expect when renaming import?
I expect import to be renamed, not target class. Join the discussion.
Apparently, #pylance can now be configured to automatically create an f string when a { is added to a string.
Currently disabled by default; can be enabled at the "python.analysis.autoFormatStrings" setting in #VSCode once the May Update has been installed.
https://devblogs.microsoft.com/python/python-in-visual-studio-code-may-2023-release/
I hope that I'm not the only one excited to see "Improved IntelliSense support for pytest" in the latest release notes for Visual Studio Code
#python #pytest #pylance #vscode #visualstudiocode
#VSCode 1.75 is out, and along with it some improvements to #Python stuff!
https://code.visualstudio.com/updates/v1_75#_python
The `Create Environment` command will now ask what requirements files and/or `pyproject.toml` optional dependencies you would like to see installed.
This release also sees #Pylance having automatic indentation (if you want; controlled by a setting).
🤫 I hear if you use Pylance pre-release you can get #pytest fixture support for "Go to Definition" and completions
#vscode #python #pylance #pytest
@clayton I remember interacting with #PyCharm Community Edition one year ago, and it wasn't bad! Language server is what interested me a lot (not without few shortcomings). Indexing is more transparent, good integration with linters and formatters.
Meanwhile, in #VSCode I always feel like Python support remains deficient - virtual environments require more work to do than necessary, leaving you with the quirks of non-OSS #Pylance language server as an added "bonus". Integrated #JupyterNotebook.
#pycharm #vscode #pylance #jupyternotebook
Obligatory #introduction. I'm not a hashtag guy but they make searching work (sorry).
Hi, I'm Jake, a senior software engineer at #microsoft working on the #typescript team (doing cool stuff like https://github.com/microsoft/TypeScript/pull/51387 , build, perf stuff).
Previously, I worked on #Pylance / #pyright for #python.
My favorite and most used language, shockingly, is Go (#golang).
Though I'm on Windows for work / gaming, I've otherwise been running #archlinux for well over a decade (love sway, i3 before that).
#introduction #microsoft #typescript #pylance #pyright #python #golang #archlinux
Used #vscode's #pylance language server today. And overall it was pretty nice. Especially like the type checking and import suggestions, which are a noticeable improvement to the old #python language server. #microsoft
#vscode #pylance #python #microsoft