Repository navigation
pants-pyrefly 1.1.1
Pins Pyrefly 1.4.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.1.0 is still pinned; to stay on the old default, set [pyrefly].version = "1.3.2".
- The default pinned Pyrefly is now 1.4.0 (was 1.3.2). The newer Pyrefly changes what some builds report (see the Pyrefly 1.4.0 release notes):
- Stricter checks on by default can surface errors 1.3.2 did not report, e.g. TypeVar bounds and constraints are now enforced when the expected type contains
Any, and@propertygetters with extra required parameters are flagged. Many false positives are also fixed, so some# pyrefly: ignorecomments and baseline entries may become unused. - Renamed error kind.
incompatible-overload-residualis nowincompatible-overload-argument. Pyrefly keeps the old name as a deprecated alias. --typeshed-pathreplaces the bundled typeshed instead of overlaying it. This matters only if you pass it through[pyrefly].args.- New opt-in error kinds (
unknown-attribute-access,unknown-return-type,untyped-function-decorator,uninitialized-instance-variable, and others) are off unless you enable them in[errors].
- Stricter checks on by default can surface errors 1.3.2 did not report, e.g. TypeVar bounds and constraints are now enforced when the expected type contains