Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
Project-MONAI
/
MONAI
Public
Notifications
You must be signed in to change notification settings
Fork
1.6k
Star
8.6k
Code
Issues
348
Pull requests
180
Discussions
Actions
Projects
Wiki
Security and quality
8
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
feat: replace mypy and pytype with pyrefly for static type analysis
- #8868
#8868
Merged
ericspod
merged 20 commits into
Project-MONAI:dev
Project-MONAI/MONAI:dev
from
garciadias:1760-replace-mypy-with-ty-type-checker
garciadias/MONAI:1760-replace-mypy-with-ty-type-checker
Copy head branch name to clipboard
Aug 14, 2026
Conversation
Commits
20
(20)
Checks
Files changed
Merged
feat: replace mypy and pytype with pyrefly for static type analysis
#8868
ericspod
merged 20 commits into
Project-MONAI:dev
Project-MONAI/MONAI:dev
from
garciadias:1760-replace-mypy-with-ty-type-checker
garciadias/MONAI:1760-replace-mypy-with-ty-type-checker
Copy head branch name to clipboard
Commits
Commits on Jun 26, 2026
feat: add pyrefly alongside mypy; drop deprecated pytype
Show description for 13eb352
garciadias
committed
13eb352
View commit details
Copy full SHA for 13eb352
Browse repository at this point
fix: suppress pre-existing pyrefly errors across monai codebase
Show description for 023516d
garciadias
committed
023516d
View commit details
Copy full SHA for 023516d
Browse repository at this point
fix: address PR #8868 review feedback (#8865)
Show description for c398f2a
garciadias
committed
c398f2a
View commit details
Copy full SHA for c398f2a
Browse repository at this point
fix: restore spatial_ndim to MetaTensor, keep pyrefly tooling changes
Show description for 769c33b
garciadias
committed
769c33b
View commit details
Copy full SHA for 769c33b
Browse repository at this point
fix: restore mypy gitignore entries and Transposed doc note
Show description for dd68613
garciadias
committed
dd68613
View commit details
Copy full SHA for dd68613
Browse repository at this point
fix: restore setup.cfg mypy config comments to match upstream
Show description for 989b50b
garciadias
committed
989b50b
View commit details
Copy full SHA for 989b50b
Browse repository at this point
fix: narrow spatial_size type from Sized to Sequence[int]
Show description for 5f19fa3
garciadias
committed
5f19fa3
View commit details
Copy full SHA for 5f19fa3
Browse repository at this point
autofix
Show description for 4e586e4
garciadias
committed
4e586e4
View commit details
Copy full SHA for 4e586e4
Browse repository at this point
Commits on Jun 29, 2026
Merge branch 'dev' into 1760-replace-mypy-with-ty-type-checker
ericspod
authored
10587c7
View commit details
Copy full SHA for 10587c7
Browse repository at this point
Commits on Jul 7, 2026
fix: address PR #8868 review feedback (#8865)
Show description for 34c0bd5
garciadias
committed
34c0bd5
View commit details
Copy full SHA for 34c0bd5
Browse repository at this point
Commits on Jul 8, 2026
fix: remove mypy; suppress enum invalid-annotation globally (#8865)
Show description for 3db780c
garciadias
committed
3db780c
View commit details
Copy full SHA for 3db780c
Browse repository at this point
Merge remote-tracking branch 'upstream/dev' into 1760-replace-mypy-with-ty-type-checker
Show description for d92631e
garciadias
committed
d92631e
View commit details
Copy full SHA for d92631e
Browse repository at this point
Commits on Aug 11, 2026
fix: address remaining PR #8868 review feedback from ericspod
Show description for f88480f
garciadias
committed
f88480f
View commit details
Copy full SHA for f88480f
Browse repository at this point
Merge remote-tracking branch 'upstream/dev' into 1760-replace-mypy-with-ty-type-checker
Show description for cac7cbf
garciadias
committed
cac7cbf
View commit details
Copy full SHA for cac7cbf
Browse repository at this point
fix: resolve pyrefly inconsistent-inheritance in DepthwiseFFTConv{2,3}d
Show description for cf547b8
garciadias
committed
cf547b8
View commit details
Copy full SHA for cf547b8
Browse repository at this point
Commits on Aug 13, 2026
revert setup.cfg to upstream: keep mypy configuration sections
Show description for 26dd16c
garciadias
committed
26dd16c
View commit details
Copy full SHA for 26dd16c
Browse repository at this point
restore [tool.pytype] configuration removed alongside the pytype runner
Show description for ca29978
garciadias
committed
ca29978
View commit details
Copy full SHA for ca29978
Browse repository at this point
suppress unnecessary-type-conversion in pyrefly config instead of 75 inline ignores
Show description for 1502aa3
garciadias
committed
1502aa3
View commit details
Copy full SHA for 1502aa3
Browse repository at this point
Commits on Aug 14, 2026
Merge branch 'dev' into 1760-replace-mypy-with-ty-type-checker
garciadias
authored
85d91d0
View commit details
Copy full SHA for 85d91d0
Browse repository at this point
Merge remote-tracking branch 'origin/1760-replace-mypy-with-ty-type-checker' into 1760-replace-mypy-with-ty-type-checker
garciadias
committed
a183cfe
View commit details
Copy full SHA for a183cfe
Browse repository at this point
You can’t perform that action at this time.