GitShow/facebook/pyrefly-pre-commit
facebook

pyrefly-pre-commit

A pre-commit hook for Pyrefly.

by facebook
Star on GitHubFork

Python

27 stars4 forks5 contributorsActive · 1h agoSince 2025MIT

Meet the team

See all 5 on GitHub →
github-actions[bot]Bot
github-actions[bot]51 contributions
rchen152
rchen15216 contributions
lolpack
lolpack5 contributions
connernilsen
connernilsen4 contributions
facebook-github-bot
facebook-github-bot2 contributions

Languages

View on GitHub →
Python52.5%
Shell47.5%

Commit activity

Last 12 weeks · 16 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
75
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Active · 1 discussion · Last activity 1h ago
See all on GitHub →
rchen152
Migrating from pyright to pyrefly for pre-commit silently turns off type checking for files outside `include`/`project-includes`OpenIssue

If you migrate from pyrefly to pyright for pre-commit, it's very easy to accidentally turn off type checking for some directories. Here's a toy set-up, based on the set-up of a real-world project (pytorch/helion). Essentially, my project has two directories, and , and the type-checking config says to check only : Here's the contents of : And the contents of : Running either or inside produces the same behavior: is checked. However, running causes to check all files as specified, including the contents of . Pyrefly still checks only .

rchen152 · 7mo ago

Recent fixes

View closed PRs →
rchen152
Update version parsing to support dev versions.MergedPR

Updates version parsing in auto-update-pyrefly.yml to support dev versions (x.y.z.devN) in addition to non-dev versions (x.y.z).

rchen152 · 3w ago
connernilsen
Fix copyright header orderingMergedPR
connernilsen · 5mo ago
connernilsen
Add copyright headerMergedPR
connernilsen · 5mo ago
Structured data for AI agents

Repository: facebook/pyrefly-pre-commit. Description: A pre-commit hook for Pyrefly. Stars: 27, Forks: 4. Primary language: Python. Languages: Python (52.5%), Shell (47.5%). License: MIT. Open PRs: 0, open issues: 1. Last activity: 1h ago. Community health: 75%. Top contributors: github-actions[bot], rchen152, lolpack, connernilsen, facebook-github-bot.

·@ofershap

Replace github.com with gitshow.dev