I tried codacy with some of my python projects and got many D203 and D213 issues (“1 blank line required before class docstring (found 0) (D203)” and " Multi-line docstring summary should start at the second line (D213)". In the description of these issues it says “pep257 is a static analysis tool for checking compliance with Python PEP 257”. But then I went and looked at what PEP 257 says and I was unable to find these requirements.
In the case of D203 the most related that I found in PEP 257 is “Insert a blank line after all docstrings (one-line or multi-line) that document a class – generally speaking, the class’s methods are separated from each other by a single blank line, and the docstring needs to be offset from the first method by a blank line.” Nothing saying that D203 is required.
In the case of D213 it is more clear, PEP 257 “The summary line may be on the same line as the opening quotes or on the next line” so actually it is clearly stated that this is okay contradicting D213.
I think that only the patterns that are strictly PEP 257 should be grouped together. Additional requirements should be under a different name. It is very misleading to say that this is PEP 257 if they are not.