This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
D401 implementation is very naive #68
Closed
Description
I have the following docstring.
@property
def file_path(self):
'''Alias for consistency with the rest of pocketlint.'''
The error is
142: D401: First line should be imperative: 'Alia', not 'Alias'
While the intent is noble, I think that the current implementation is not helpful.
Is there anyone using this check in production code?
If a check could not be done, I prefer to not try to automate it as it is not fun to maintain a list of ignored values..
Thanks!
Metadata
Metadata
Assignees
Labels
No labels