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

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

Open
KotlinIsland opened this issue Feb 16, 2023 · 0 comments
Open

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

KotlinIsland opened this issue Feb 16, 2023 · 0 comments

Comments

@KotlinIsland
Copy link

KotlinIsland commented Feb 16, 2023

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
@KotlinIsland KotlinIsland changed the title (🎁) Perform checks on variable declarations (🎁) Perform checks on strings under variable declarations Feb 16, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant