Skip to content

fix(suppress): handle removal of unused ignores#3200

Open
rexledesma wants to merge 1 commit intofacebook:mainfrom
rexledesma:rl/fix-suppress-command
Open

fix(suppress): handle removal of unused ignores#3200
rexledesma wants to merge 1 commit intofacebook:mainfrom
rexledesma:rl/fix-suppress-command

Conversation

@rexledesma
Copy link
Copy Markdown
Contributor

Summary

Ensure that pyrefly suppress --remove-unused actually works.

Fixes #3198.

Test Plan

cargo test

@github-actions
Copy link
Copy Markdown

According to mypy_primer, this change doesn't affect type check results on a corpus of open source code. ✅

@kinto0
Copy link
Copy Markdown
Contributor

kinto0 commented Apr 24, 2026

Thanks for the issue and fix! cc @maggiemoss

I will import it but I want her to get a second look

@kinto0 kinto0 self-assigned this Apr 24, 2026
@kinto0 kinto0 requested a review from maggiemoss April 24, 2026 17:57
@meta-codesync
Copy link
Copy Markdown
Contributor

meta-codesync Bot commented Apr 24, 2026

@kinto0 has imported this pull request. If you are a Meta employee, you can view this in D102371578.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pyrefly suppress --remove-unused is not working

2 participants