pyrefly icon indicating copy to clipboard operation
pyrefly copied to clipboard

Fix clippy warnings in {T,L}SP tests

Open jorenham opened this issue 6 months ago • 2 comments

Summary

In the VSCode problems tab I was seeing the following clippy warnings:

Screenshot_2026-05-21_11-15-07

So, well, this fixes them.

Test Plan

Tests still pass, and clippy no longer complains.

jorenham avatar May 21 '26 09:05 jorenham

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

github-actions[bot] avatar May 21 '26 09:05 github-actions[bot]

The Windows CI failure is unrelated: #3518

jorenham avatar May 21 '26 10:05 jorenham

Thanks @jorenham for the cleanup! These clippy fixes look good. Looks good to approve and import.

NathanTempest avatar May 21 '26 15:05 NathanTempest

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

meta-codesync[bot] avatar May 21 '26 15:05 meta-codesync[bot]

@NathanTempest merged this pull request in facebook/pyrefly@bc94b8079e0ff98a1dd0c56bb668ced0fc61c37b.

meta-codesync[bot] avatar May 21 '26 15:05 meta-codesync[bot]