-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
False positive on imperative mood check due to adverb #393
Comments
While looking at the implementation, it seems that “always” is blacklisted in the Is there any rationale behind this? As “always” is a frequency adverb, the word following it should be a verb. Shouldn’t we check for an verb in its imperative form as the second word when the first word is an adverb? |
That entry was taken from https://github.com/PyCQA/pydocstyle I don't know if I'm in a good place to arbitrate decisions on this. |
Problem description
In
committed 1.0.20
, using the following configuration:Let the following message:
committed
reports the following error:Expected behaviour
“Always use a given behaviour.” is actually in imperative mood, but the verb is in second position, after an adverb. This should not report an error.
The text was updated successfully, but these errors were encountered: