Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better summary detection (no dot added in the middle of a sentence) #175

Open
Pierre-Sassoulas opened this issue Sep 18, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Pierre-Sassoulas
Copy link
Collaborator

In the following example pydocstringformatter add a .\n after "that".

def _looks_like_subscriptable(node: ClassDef) -> bool:
    """
    Returns True if the node corresponds to a ClassDef of the Collections.abc module that
    supports subscripting
    """
    pass

It would be nice to detect summary better, see pylint-dev/astroid#1792 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant