Repository navigation
Pins Pyrefly 1.5.0 and makes it the default. No plugin code changes: the goals, [pyrefly] options, and skip_pyrefly field behave as before. Every version pinned in 1.2.0 is still pinned; to stay on the old default, set [pyrefly].version = "1.4.1".
- The default pinned Pyrefly is now 1.5.0 (was 1.4.1); 1.4.1 stays pinned. The newer Pyrefly changes what some builds report (see the Pyrefly 1.5.0 release notes):
- Warnings are printed by default, e.g. uses of deprecated APIs,
redundant-cast, andunnecessary-type-conversion. They do not change the exit code, sopants checkpasses or fails as before, andpants pyrefly-update-baselineandpants pyrefly-suppressignore them. To hide them, set[pyrefly].min_severity = "error". - Annotations look up names in the enclosing class body first, and uninitialized names and illegal circular references in annotations are now reported, which can surface errors 1.4.1 did not report.
unreachablenow defaults to the new IDE-onlyhintseverity (waswarn), so it no longer appears inpants checkoutput unless configured as"warn"or"error".
- Warnings are printed by default, e.g. uses of deprecated APIs,