Skip to content

Set a notes-rgx= pattern in pylint to allow TODO(#24)  #24

@DanielNoord

Description

@DanielNoord

I find it pretty annoying to keep having to add disable=fixme everywhere but I like to enable the checker.

I think it would be very good to allow TODO comments that specify a related follow-up issue number. So, taking this issue as example:

# TODO: Fix how fixme is interpreted      # bad

# TODO(#24): Fix how fixme is interpreted      # good

At some point we could even add a test that verifies whether the issue actually exists, but that might be more difficult and creates a bit of a chicken-egg problem: you'll need to open a follow-up issue for a not yet approved PR. That also feels a bit weird..

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions