Skip to content

Print config warnings in pyrefly coverage#4149

Open
jorenham wants to merge 1 commit into
facebook:mainfrom
jorenham:coverage/emit-config-warnings
Open

Print config warnings in pyrefly coverage#4149
jorenham wants to merge 1 commit into
facebook:mainfrom
jorenham:coverage/emit-config-warnings

Conversation

@jorenham

Copy link
Copy Markdown
Contributor

Summary

Config warnings are printed when using pyrefly check (e.g. invalid site-package-path), but the pyrefly coverage commands didn't. So now they do :)

Spotted while working on #4146.

Test Plan

Scrut test added, and manually verified that pyrefly coverage report's stdout stays valid json.

@github-actions

This comment has been minimized.

@jorenham jorenham force-pushed the coverage/emit-config-warnings branch from b406d0b to 273d59b Compare July 14, 2026 21:28
@github-actions github-actions Bot added size/xs and removed size/xs labels Jul 14, 2026
@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. ✅

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.

1 participant