#pyright — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #pyright, aggregated by home.social.
-
#CodeQuality of the lazy developer 🛠️
Updating an educational #Python repo, I looked into what to automate for code quality.
🔮 Spoiler: I landed on uv, ruff, pyright and pre-commit.
In the article: the picks, why, and the make patch that broke on the first try 😄
https://alessandra.bilardi.net/diary/articles/2026-04/the-lazy-developer-s-code-quality.en
-
#CodeQuality of the lazy developer 🛠️
Updating an educational #Python repo, I looked into what to automate for code quality.
🔮 Spoiler: I landed on uv, ruff, pyright and pre-commit.
In the article: the picks, why, and the make patch that broke on the first try 😄
https://alessandra.bilardi.net/diary/articles/2026-04/the-lazy-developer-s-code-quality.en
-
🚀🎉 Hold onto your keyboards, folks! #Astral has unleashed "ty," a lightning-fast #Python #type #checker, because, of course, we needed another one. Written in #Rust, because Python apparently wasn't fast enough for checking itself, "ty" is now in #Beta and ready to bravely enter a market already saturated with the likes of #mypy, #Pyright, and other tools you didn't know you couldn't live without. 🌪️🔧
https://astral.sh/blog/ty #ty #HackerNews #ngated -
🚀🎉 Hold onto your keyboards, folks! #Astral has unleashed "ty," a lightning-fast #Python #type #checker, because, of course, we needed another one. Written in #Rust, because Python apparently wasn't fast enough for checking itself, "ty" is now in #Beta and ready to bravely enter a market already saturated with the likes of #mypy, #Pyright, and other tools you didn't know you couldn't live without. 🌪️🔧
https://astral.sh/blog/ty #ty #HackerNews #ngated -
I've made a Python :python: code linting Action ▶️ for GitHub :github: Code Scanning.
It wraps up #Ruff, #Flake8, #Pylint, #Fixit2, #Mypy, #Pyright and #Pytype into an Action that uploads to Code Scanning, part of Advanced Security, the GitHub appsec platform.
ℹ️ that’s free for open source repos hosted on GitHub!
Read 📖 about it👇 on my blog:
https://lnkd.in/es_pd2W6Try ⚙️ it👇 on the Actions ▶️ marketplace:
https://lnkd.in/ei7-H2V9#Python #Linting #CodeQuality #Linters #SARIF #GitHubActions
-
I've made a Python :python: code linting Action ▶️ for GitHub :github: Code Scanning.
It wraps up #Ruff, #Flake8, #Pylint, #Fixit2, #Mypy, #Pyright and #Pytype into an Action that uploads to Code Scanning, part of Advanced Security, the GitHub appsec platform.
ℹ️ that’s free for open source repos hosted on GitHub!
Read 📖 about it👇 on my blog:
https://lnkd.in/es_pd2W6Try ⚙️ it👇 on the Actions ▶️ marketplace:
https://lnkd.in/ei7-H2V9#Python #Linting #CodeQuality #Linters #SARIF #GitHubActions
-
I've made a Python :python: code linting Action ▶️ for GitHub :github: Code Scanning.
It wraps up #Ruff, #Flake8, #Pylint, #Fixit2, #Mypy, #Pyright and #Pytype into an Action that uploads to Code Scanning, part of Advanced Security, the GitHub appsec platform.
ℹ️ that’s free for open source repos hosted on GitHub!
Read 📖 about it👇 on my blog:
https://lnkd.in/es_pd2W6Try ⚙️ it👇 on the Actions ▶️ marketplace:
https://lnkd.in/ei7-H2V9#Python #Linting #CodeQuality #Linters #SARIF #GitHubActions
-
I've made a Python :python: code linting Action ▶️ for GitHub :github: Code Scanning.
It wraps up #Ruff, #Flake8, #Pylint, #Fixit2, #Mypy, #Pyright and #Pytype into an Action that uploads to Code Scanning, part of Advanced Security, the GitHub appsec platform.
ℹ️ that’s free for open source repos hosted on GitHub!
Read 📖 about it👇 on my blog:
https://lnkd.in/es_pd2W6Try ⚙️ it👇 on the Actions ▶️ marketplace:
https://lnkd.in/ei7-H2V9#Python #Linting #CodeQuality #Linters #SARIF #GitHubActions
-
I've made a Python :python: code linting Action ▶️ for GitHub :github: Code Scanning.
It wraps up #Ruff, #Flake8, #Pylint, #Fixit2, #Mypy, #Pyright and #Pytype into an Action that uploads to Code Scanning, part of Advanced Security, the GitHub appsec platform.
ℹ️ that’s free for open source repos hosted on GitHub!
Read 📖 about it👇 on my blog:
https://lnkd.in/es_pd2W6Try ⚙️ it👇 on the Actions ▶️ marketplace:
https://lnkd.in/ei7-H2V9#Python #Linting #CodeQuality #Linters #SARIF #GitHubActions
-
Third time seems to be the charm. After 2 attempts with spacemacs, I finally seem to have gotten a working setup with #Doomemacs.
The thing that took the longest time to figure out was getting #pyenv and #pyright to work correctly.
1. pyenv - project integration code needed to be added
2. pyenvs should be then created in the same name as the project itself
3. pyenv local needed to be run to create .python-version file
4. both lsp and tree-sitter tools enabled and added to python
Now I am almost feature parity with my #lunarvim #neotest setup to run tests. The final piece missing is DAP debugger... coming at you DAP -
Third time seems to be the charm. After 2 attempts with spacemacs, I finally seem to have gotten a working setup with #Doomemacs.
The thing that took the longest time to figure out was getting #pyenv and #pyright to work correctly.
1. pyenv - project integration code needed to be added
2. pyenvs should be then created in the same name as the project itself
3. pyenv local needed to be run to create .python-version file
4. both lsp and tree-sitter tools enabled and added to python
Now I am almost feature parity with my #lunarvim #neotest setup to run tests. The final piece missing is DAP debugger... coming at you DAP -
#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 types.
https://github.com/carltongibson/django-filter/pull/1585/files
-
#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 types.
https://github.com/carltongibson/django-filter/pull/1585/files
-
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.
-
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).
-
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).
-
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).