Skip to content
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.

(🎁) Perform checks on strings under variable declarations #630

Open
@KotlinIsland

Description

@KotlinIsland

No linting is performed on doc strings for variables. PyCharm, VSCode and pydoc3 all support this use case. I would expect all of these usages to be linted.

a = 1
"""idgi???"""  # no lint errors

b: int
"""idgi???"""  # no lint errors

class a:
    a = 1
    """idgi???"""  # no lint errors

    b: int
    """idgi???"""  # no lint errors

    def __init__(self, value):
        self.value = value
        """idgi???"""  # no lint errors

        self.other: int
        """idgi???"""  # no lint errors

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