Skip to content

Hound CI produces false positives when attempting to use # type: ignore[something] #774

@ThosRTanner

Description

@ThosRTanner

This makes it rather hard to update kazoo to use mypy

#type: ignore[attr] complains that attr is not defined and # type: ignore[return-value] produces "syntax error"

Even though the config file for hound says its using flake8, flake8 does not actually generate those messages. I can believe there's a plugin for flake8 that examines comments to check if they're commented out code and would compile, but as hound ci doesn't tell you which message number even though that's flake8s default format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions