Skip to content

Feature request: Ignoring message strings #2

@maiksprenger

Description

@maiksprenger

Hi Sébastien, thank you for a lovely project! I like that it's both useful and the code is so well written.

We want to add msgcheck to our linting at Thermondo as part of a pre-commit hook. But for that to work, we need the option to exclude certain messages from linting - sometimes the trailing dot only does make sense in the source string.

My suggestion would be to exclude any source string and translation which is prefixed with # noqa, as is common in Python land for other linters.

What do you think? I don't want to promise anything, but there's a good chance we might be able to dedicate time for this if you'd be willing to merge this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureNew feature request

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions