Skip to content

[FR] Add "all" preset that enables all checks #3328

Closed

Description

@rchen152

Describe the Bug

Context: #3298.

One thing to watch out for is that we probably don't want to turn info diagnostics like reveal_type into errors.

Sandbox Link

No response

(Only applicable for extension issues) IDE Information

No response

Activity

  1. self-assigned this
    on May 7, 2026
  2. DetachHead commented on May 18, 2026

    @DetachHead
    Contributor

    One thing to watch out for is that we probably don't want to turn info diagnostics like reveal_type into errors.

    ideally they would still cause a non-zero exit code though, since it would always be a mistake to commit a reveal_type since it should only be used when experimenting with types locally

  3. rchen152 commented on May 26, 2026

    @rchen152
    ContributorAuthor

    @DetachHead you can use --error=reveal-type to make pyrefly exit non-zero on reveal_type or (once 1.1.0 is released) --min-severity=info to make pyrefly exit non-zero on all info diagnostics.

  4. added this to the v1.1 milestone on May 26, 2026
  5. added a commit that references this issue on May 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions