Pyrefly retweeted
The @pyrefly_dev team added support for the parameter documentation format used by @FastAPI, Typer and my other tools ✨
So, on hover, you get the right documentation for each parameter (e.g. telemetry, or title) 🎉
So, support for annotated-doc github.com/fastapi/annotated…
Pyrefly 1.5 is out! 🎉
✅ 100% typing spec conformance
⚡ 40% faster checks, 9% less memory
💡 New "hint" severity for unused code
🧠 Smarter narrowing, better Pydantic & Django, Tensor Types
`pip install -U pyrefly` to upgrade
github.com/pyrefly-org/pyref…
Pyrefly retweeted
Our #PyTorchConf talk on a type system for tensor shapes is now out! youtube.com/watch?v=K5WLGsHw…
Traditional type systems are useless for tensor programs because all they tell you is something is a tensor. This is like telling you, here's a bunch of blurry lego bricks but I won't tell you what their shapes are!
With tensor shapes in a type system, you get to build with bricks that must fit together, and whenever they don't fit, there's an automatic error. It's also great for program understanding, because you can see the shapes of intermediate tensors show up in your IDE.
There's a pretty cool live demo inside that covers PyTorch, JAX, and NumPy support (model authoring). We also talk about bringing this to CuTe DSL and Triton in the future (kernel authoring).
Tons of questions towards the end! Join this revolution, our goal is to make this so common in all kinds of tensor programming that you wouldn't believe this wasn't possible until now. :)
Very interesting use of TSP and Pyrefly as a platform for types!
Latest experiment: pyscriptc
A Python-to-native toolkit
→ Written in Python
→ Static by default
→ Type checked by @pyrefly_dev
→ Falls back to CPython island for non-compatible code
-> Apache 2.0
Goal: compile existing Python with no code changes
pyscriptc.pages.dev/
1
50
Latest experiment: pyscriptc
A Python-to-native toolkit
→ Written in Python
→ Static by default
→ Type checked by @pyrefly_dev
→ Falls back to CPython island for non-compatible code
-> Apache 2.0
Goal: compile existing Python with no code changes
pyscriptc.pages.dev/
Pyrefly retweeted
Zed v1.26 got released!
> This release adds optional Pyrefly Python LS, expandable debugger variable trees, and DWARF debugging for WebAssembly in JS.
Pyrefly now available as a built in language server in the Zed IDE @zeddotdev
zed.dev/releases/stable/1.26…
#rust
Pyrefly Pylance
🤝
letting users pick the VS Code experience that works best for them
Big news for Python devs in VS Code: Pylance now lets you pick your type checker. 🐍
Meet the Type Server Protocol (TSP), built with Meta so Pyrefly plugs straight into Pylance. Keep Copilot + IntelliSense, swap the engine.
Check it out 👇
devblogs.microsoft.com/pytho…
Pyrefly retweeted
Pyrefly support for tensor shape checking is here! Using simple type annotations, Pyrefly can catch tricky bugs in your models. Validated on dozens of real-world models including nanoGPT. Works with PyTorch, JAX, NumPy and more!
youtu.be/2dABb24Q-v0?is=UG3n…
If you've ever struggled with shape bugs in PyTorch, NumPy or JAX you can use Pyrefly shape checking to catch mismatches statically, before you ever run your code:
youtube.com/watch?v=2dABb24Q…
#pyrefly #python #pytorch #numpy
🐍 Come find our Meta booth at @PyConTW! 👋 Our team is here to talk about: 🔥 Pyrefly, 🧵 Free-threaded Python, 🛟 Safer Lazy Imports, and More! #pycontw #pycontw2026 #Python #OpenSource #Pyrefly #FreeThreading
2
77
The Pyrefly team wants to hear from you!
If you'd like to help make Pyrefly better and have a spare 10 mins to fill out this survey we would greatly appreciate it - whether you’re just getting started trying out Pyrefly or you’ve been here since the beginning:
📝 forms.gle/1ytEGVpsqokm7npR8
36
Pyrefly retweeted
🐍 Python 3.15 is here! One feature worth trying is explicit lazy imports.
They let you defer loading a module until your code actually uses it. For applications with costly imports, that can mean a much faster startup thanks to the use of built-in Python syntax.
Lazy imports arrived in PyCharm 2026.2 and will be enhanced further in 2026.3. Try them in the 2026.3 EAP now.
Curious how they work? Cheuk walks you through the feature and benchmarks it in our blog post: blog.jetbrains.com/pycharm/2…
Pyrefly retweeted
Replying to @GoogleOSS @MetaOpenSource
Read how our Python team transitioned from a homegrown checker to collaborating with the Pyrefly community on shared open-source infrastructure: goo.gle/pyrefly-at-google
Pyrefly retweeted
The best open source tool for the job doesn't have to be built in-house. When evaluating Python type checkers, Google chose @MetaOpenSource's Pyrefly and started contributing upstream. 👇 Link in first reply
Pyrefly retweeted
Tried @pyrefly_dev from @Meta on a 135k-line scientific Python codebase: 637,003 lines checked in 0.50s, vs 22.3s cold before. All 149 findings were accurate.
Adopting it in CI. Thanks to the Meta team we met at @py_bay: Kyle Into, Steven Troxler, @__avik and Martin DeMello.
🐍 We're at @py_bay ! Come find the Meta booth and say hi 👋 Our team is here to talk about: 🔥 Pyrefly, 🧵 Free-threaded Python, 🛟 Safer Lazy Imports, and More!
#PyBay2026 #Python #OpenSource #Pyrefly #FreeThreading
4
109
Python 3.15 is scheduled for tomorrow. Highlights include lazy imports, frozendict, sentinel, and new profiling tools.
Which feature are you trying first?
docs.python.org/3.15/whatsne…
1
87
JetBrains Air’s thesis: as agents generate more code, the bottleneck moves to verification and ownership.
"The agent said it was done" is not a quality gate. Put deterministic checks in the loop.
@pycharm congrats on the launch!
blog.jetbrains.com/blog/2026…
1
97

















