Skip to content

pre-commit skips strict mypy checks #247

Description

@drnextgis

According to the documentation, pre-commit runs mypy with only the --ignore-missing-imports flag. So if I'm not wrong the pyproject.toml file is not being used, which results in the strict = true setting in the [tool.mypy] section being ignored, causing pre-commit to bypass strict checks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions