facebook / facebook/pyrefly

Use annotate_snippets instead of ruff_annotate_snippets

Open
#1,380 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
7k
Forks
516
PR merge metrics
No merged PRs in 30d

Description

We're using a ruff fork of annotate_snippets to generate code snippets in error messages, due to upstream annotate_snippets always printing a non-customizable header. https://github.com/rust-lang/annotate-snippets-rs/pull/171#issuecomment-3246813868 suggests that this has been fixed in annotate_snippets v0.12, so we should try to migrate off ruff's fork if we can.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.