Skip to content

when soft-error-limit is -1,it doesn't work #19228

@kkscilife

Description

@kkscilife
-   repo: https://github.com/pre-commit/mirrors-mypy
    rev: v1.16.0
    hooks:
      -  id: mypy
         args: ["--soft-error-limit=-1"]

while the result is:
xxx
Found 1 error in 1 file (errors prevented further checking)

It stoped checking after only one error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugmypy got something wrong

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions