pydocstyle icon indicating copy to clipboard operation
pydocstyle copied to clipboard

Not detecting wrong DocStrings

Open borghoffd opened this issue 1 year ago • 1 comments

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

borghoffd avatar Mar 16 '23 12:03 borghoffd

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

niksite avatar Aug 29 '23 20:08 niksite