Skip to content

pants-pyrefly 0.3.0

Choose a tag to compare

@tague tague released this 09 Nov 20:21
· 48 commits to main since this release
  • pants pyrefly-init bootstraps a Pyrefly config for the repo (wraps pyrefly init), migrating an existing MyPy or Pyright configuration when one is found. --pyrefly-init-migrate-from=<auto|mypy|pyright> selects the source. It refuses to overwrite an existing config.
  • pants pyrefly-dump-config prints the effective Pyrefly configuration Pants assembles for the targeted sources (first-party search-paths, the resolved interpreter, and the config file in effect) by running Pyrefly's dump-config subcommand. Diagnostic only — it does not type-check.
  • Pyrefly version pins (default_known_versions) are now generated by build-support/bin/generate_known_versions.py instead of being hand-edited: it fetches each asset's published .sha256 and size from the GitHub release. Bump with --version <new> --write; CI runs --check to fail if the committed pins drift from the release.