-
Notifications
You must be signed in to change notification settings - Fork 15
global: conflicting D211 and D203 #83
Comments
@nharraud Can you please provide a test case? |
@tiborsimko I don't seem to be able to reproduce the issue (kwalitee 0.2.0rc8). Maybe it was a mistake on my side as Kwalitee didn't change since I created this issue. |
@nharraud Thanks, closing it then. |
Reopening. Just ran into this when running tests on the kwalitee codebase itself:
|
@tiborsimko @nharraud what about removing pydocstyle and pycodestyle (pep8) completely from |
OT1H, it's nice to have all tests included in OTOH, it's also nice not to repeat tests that people are running elsewhere, e.g. we recommend plugging PEP-8 and PEP-257 checking tools in people's code editors, e.g. we have From this point of view, if But we'd have to be really clear that this does not mean abandoning the ideal of having PEP-8/PEP-257 compliant code 😄 for those people who may retain the historical look mentioned above. |
Scenario:
Kwalitee commit hook will output error D211 or D203 depending on if you added a blank line before the class docstring or not. The two messages conflict because the PEP257 standard changed, see PEP257 changeset.
This has been fixed in pep257 (search for
Added check D211
) but apparently fails in Kwalitee.Environment:
Python 3.5.0
The text was updated successfully, but these errors were encountered: