#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 -
🚀🎉 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 -
TIL the overload() decorator for Python, for describing methods that support multiple different combinations of argument types. A great way to make your typechecker happy: it's much stricter and clearer than just combining multiple types with "|".
https://docs.python.org/3/library/typing.html#typing.overload
-
TIL the overload() decorator for Python, for describing methods that support multiple different combinations of argument types. A great way to make your typechecker happy: it's much stricter and clearer than just combining multiple types with "|".
https://docs.python.org/3/library/typing.html#typing.overload
-
TIL the overload() decorator for Python, for describing methods that support multiple different combinations of argument types. A great way to make your typechecker happy: it's much stricter and clearer than just combining multiple types with "|".
https://docs.python.org/3/library/typing.html#typing.overload
-
TIL the overload() decorator for Python, for describing methods that support multiple different combinations of argument types. A great way to make your typechecker happy: it's much stricter and clearer than just combining multiple types with "|".
https://docs.python.org/3/library/typing.html#typing.overload
-
TIL the overload() decorator for Python, for describing methods that support multiple different combinations of argument types. A great way to make your typechecker happy: it's much stricter and clearer than just combining multiple types with "|".
https://docs.python.org/3/library/typing.html#typing.overload
-
@feoh Yup. For me its way better than #pyright or #basedpyright.
-
@feoh Yup. For me its way better than #pyright or #basedpyright.
-
@feoh Yup. For me its way better than #pyright or #basedpyright.
-
@feoh Yup. For me its way better than #pyright or #basedpyright.
-
@feoh Yup. For me its way better than #pyright or #basedpyright.
-
@seungjin I write #python code every day, and type hints are a "syntactic sugar" and are not required at all from the interpreter point of view.
For large projects, it's useful to add hints to "follow" what you are doing, and type checkers like #pyright or #mypy can help to find some bugs, by example when calling a method with wrong parameters types.
It also help for the readability of the code.
-
@seungjin I write #python code every day, and type hints are a "syntactic sugar" and are not required at all from the interpreter point of view.
For large projects, it's useful to add hints to "follow" what you are doing, and type checkers like #pyright or #mypy can help to find some bugs, by example when calling a method with wrong parameters types.
It also help for the readability of the code.
-
@seungjin I write #python code every day, and type hints are a "syntactic sugar" and are not required at all from the interpreter point of view.
For large projects, it's useful to add hints to "follow" what you are doing, and type checkers like #pyright or #mypy can help to find some bugs, by example when calling a method with wrong parameters types.
It also help for the readability of the code.
-
@seungjin I write #python code every day, and type hints are a "syntactic sugar" and are not required at all from the interpreter point of view.
For large projects, it's useful to add hints to "follow" what you are doing, and type checkers like #pyright or #mypy can help to find some bugs, by example when calling a method with wrong parameters types.
It also help for the readability of the code.
-
With Microsoft rewriting Typescript in Go (for a mere 10x performance win), the next target is hopefully #pyright, which is pretty much unusable currently due to its reliance on Node.
https://devblogs.microsoft.com/typescript/typescript-native-port/
-
Survey on use of types in Python among around 1000 developers. 88% of respondents “Always” or “Often” use Types in their Python code.
Study conducted by Meta, JetBrains, and Microsoft, results on a Google dashboard.
https://engineering.fb.com/2024/12/09/developer-tools/typed-python-2024-survey-meta/
-
Survey on use of types in Python among around 1000 developers. 88% of respondents “Always” or “Often” use Types in their Python code.
Study conducted by Meta, JetBrains, and Microsoft, results on a Google dashboard.
https://engineering.fb.com/2024/12/09/developer-tools/typed-python-2024-survey-meta/
-
Survey on use of types in Python among around 1000 developers. 88% of respondents “Always” or “Often” use Types in their Python code.
Study conducted by Meta, JetBrains, and Microsoft, results on a Google dashboard.
https://engineering.fb.com/2024/12/09/developer-tools/typed-python-2024-survey-meta/
-
Survey on use of types in Python among around 1000 developers. 88% of respondents “Always” or “Often” use Types in their Python code.
Study conducted by Meta, JetBrains, and Microsoft, results on a Google dashboard.
https://engineering.fb.com/2024/12/09/developer-tools/typed-python-2024-survey-meta/
-
Let's see if an issue gets traction: https://github.com/microsoft/pyright/issues/9648
-
Let's see if an issue gets traction: https://github.com/microsoft/pyright/issues/9648
-
Let's see if an issue gets traction: https://github.com/microsoft/pyright/issues/9648
-
Let's see if an issue gets traction: https://github.com/microsoft/pyright/issues/9648
-
Let's see if an issue gets traction: https://github.com/microsoft/pyright/issues/9648