facebook / facebook/pyrefly

Typechecking Parity with BasedPyright

Open
#4,260 1 comment 4 reactions 0 assignees View on GitHub
epic typechecking
Dominant language
Rust
Stars
7k
Forks
516
PR merge metrics
No merged PRs in 30d

Description

### Describe the Bug

from https://github.com/DetachHead/python-type-checker-comparison/issues/10

I don't think we'll ever be fully drop-in compatible, but closing the gap and implementing various optional checks that BasedPyright adds on top of pyright makes sense

### Sandbox Link

_No response_

### (Only applicable for extension issues) IDE Information

_No response_

Contributor guide

Open the contributing guide

Research direction

Start with the linked python-type-checker-comparison issue and compare Pyrefly's current behavior with BasedPyright's optional checks. No files or tests are named; done would require identifying specific compatibility gaps and implementing the selected checks with coverage for their behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.