Python Typing Survey 2026: AI Tools and the Shifting Checker Landscape
The 2026 Python Typing Survey (1,794 responses, mostly developers with 5+ years of Python) found frequent type-hint use flat at about 86% across three years while checker choice shifted sharply toward newer, faster tools. Speed was the top reason for picking a checker, and 49.9% of respondents used two or more, often splitting editor and CI roles; 42.7% of multi-checker users reported inconsistencies between them. Missing third-party library types (65.1%) remained the top pain point, especially for Django, SQLAlchemy, Pydantic, NumPy and pandas, and better Callable syntax was the most requested feature. AI tools now write type hints for 42.5% of respondents and invoke checkers for 24.4%, though many are unsure types actually help AI coding, and help-seeking has moved from Stack Overflow (46.4% to 22.9%) toward LLM chat and typing docs.
Related posts
- Python Typing Survey 2025: Code Quality and Flexibility As Top Reasons for Typing Adoption
Meta Engineering easyNoviceThe 2025 Typed Python Survey (1,241 respondents, mostly experienced developers) finds 86% use type hints always or often, with adoption peaking at 93% among developers with 5–10 years of Python experience and lowest (80%) among 10+ year veterans. Respondents value gradual adoption, readability, IDE support and bug prevention, but struggle with poorly typed third-party libraries (NumPy, Pandas, Django), complex generics and variance, and inconsistencies between type checkers. Mypy remains the most used checker at 58% (down from 61%), while Rust-based checkers Pyrefly, Ty and Zuban together reach over 20%. Top feature requests are TypeScript-style intersection, mapped and conditional types, runtime enforcement, higher-kinded types and ADTs, and a fast official type checker.
- Better tools made Copilot code review worse. Here’s how we actually improved it.
GitHub Engineering mediumAdeptSwapping Copilot code review's bespoke exploration tools for the shared Copilot CLI tools (grep, glob, view) initially raised review cost and reduced useful comments, because the tool instructions encouraged broad, repo-browsing behavior instead of diff-anchored investigation. Benchmark traces exposed the browsing loop, and rewriting tool guidance around a reviewer's workflow (form questions from the diff, narrow with grep/glob, batch discovery, view only known ranges, recover from failed searches with simpler queries or glob) cut average review cost about 20% in production without a quality regression. The same focused instructions did not help the interactive CLI, so tool prompting must match the product's job.
- Adding the ESLint Tool to an AI Assistant: Improving Recommendations for JS/TS Projects
Docker mediumAdeptAn AI assistant gets better at linting JavaScript and TypeScript projects when it is given ESLint tooling instead of relying on the LLM's built-in knowledge. Out of the box, GPT-4 suggests boilerplate ESLint configs that often don't work. A prompt plus a containerized StandardJS function definition lets the assistant pick ts-standard when tsconfig files exist, run it from the right directory, and install Docker-based Git hooks. The LLM can then generate JSON edit ranges for violations that aren't auto-fixable. Showing these fixes in VSCode's problems window, driven by linter output, avoids the hallucinations that context-free Copilot "fix this" requests produce.
- Making Python in Zed Fun
Zed easyNoviceZed reworked its Python support around a generic per-language toolchain selector backed by Microsoft's python-environment-tools, the same library Visual Studio Code uses for venv detection. A manifest tree tracks the nearest pyproject.toml so each monorepo sub-project gets its own toolchain. Zed also runs a separate language server per toolchain rather than making servers juggle multiple environments. Basedpyright is now the default LSP, ty and Ruff work out of the box, Pyrefly is available via an extension, and the team plans to move Astral's ty into core and add notebooks in 2026.
- Ghostwriter AI & Complete Code Beta
Replit mediumAdeptReplit's Ghostwriter adds AI code completion, generation, transformation, explanation and semantic search to its IDE, with Complete Code starting in closed beta. Completion is built on Salesforce's CodeGen, converted to FasterTransformer and served on Triton, with a 2B model distilled to about 1B parameters and int8 quantization under exploration, for a median latency under 400ms. On the editor side, suggestions are matched against existing whitespace, braces and AST structure, adjusted as the user keeps typing, filtered by heuristics and streamed line by line. Other features use a 'society of models': a fine-tuned CodeBERT embedding model for contextual natural-language code search, and large OpenAI and 100B+ parameter models for explaining, generating and transforming code.