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

Not detecting wrong DocStrings #638

Open
borghoffd opened this issue Mar 16, 2023 · 1 comment
Open

Not detecting wrong DocStrings #638

borghoffd opened this issue Mar 16, 2023 · 1 comment

Comments

@borghoffd
Copy link

Hey there,

I just stumbled upon an issue where pydocstyle doesn't recognize wrongly formatted DocStrings. Here is an example:

def test_query(self) -> None:
		"""
			this is a wrongly formatted docstring
		"""

I was pretty sure that this once worked, so I tried out some older versions of pydocstyle. With version 6.1.1 I get the notifications I was expecting, f.e. "DocString is over-intended" and "First line should end with a period, ...".
I also tested versions 6.2.0 and 6.2.3 where I am missing those notifications.

Is this a bug or did something change so that these are not shown anymore?

Thanks for your answer!
Dennis

@niksite
Copy link

niksite commented Aug 29, 2023

It even passed some completely missed docstrings, starting from version 6.2.0!

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

2 participants