CI: pydocstyle>=5.1.0, flake8-docstrings>=1.4.0 verified to work#18780
Conversation
|
We should also update |
82b3e58 to
baa303f
Compare
baa303f to
8d8f801
Compare
Yeah I was stupidly going to submit two micro-PRs, but just put it all here. I've verified locally that every combination of pydocstyle and flake8-docstrings versions greater than the ones specified here will run without errors locally.
Edit: Nope, I'm just blind, just needed to mark a couple of false positives. |
5239be2 to
76c1eea
Compare
New pydocstyle will always think a line with just "TODO" on it is a title, and other minor changes to make sure CI passes.
PR Summary
Our docs used to cause pydocstyle>4 to raise, so we had this instruction in the pull request template which appears to no longer be needed.
Tested locally in a new conda environment:
$ conda create -n doc_check python=3.8 $ conda activate doc_check $ pip install flake8-docstrings $ flake8 --docstring-convention=all lib/matplotlib # no longer raisesPR Checklist
Old version:
flake8-docstringsandpydocstyle<4and runflake8 --docstring-convention=all).New version:
flake8-docstringsand runflake8 --docstring-convention=all).