Stricter type checks for your Python file.
Strengthens a Python file's type checking by annotating its functions, classes, and attributes.
When to use it
Use when migrating a file to stricter Pyrefly checks that require type annotations.
Give it a file in a project with pyrefly.toml; it strengthens the file's annotations and checking configuration, then runs lint and relevant tests.
What you provide
Assumes Python 3.10 or newer for the annotation syntax it requires.
Must be on PATH; if missing, the agent must stop and ask about activating a conda environment rather than install or substitute it.
Must be on PATH for the required lint step; the project's test runner must also be available.
No additional actions listed.