Open ejpcmac opened 2 months ago
While looking at the implementation, it seems that “always” is blacklisted in the imperative
crate.
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.