-
-
Notifications
You must be signed in to change notification settings - Fork 7.9k
DOC: Fix source links and flake8 cleanup #21240
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
Conversation
@@ -12,6 +12,7 @@ colorspacious | |||
ipython | |||
ipywidgets | |||
numpydoc>=0.8 | |||
packaging>=20 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also add to environment.yml
.
Instead of figuring out a regex ourselves, just use `packaging` to determine the version. And point to `master` branch if not on an actual tag. Fixes matplotlib#21230
Owee, I'm MrMeeseeks, Look at me. There seem to be a conflict, please backport manually. Here are approximate instructions:
And apply the correct labels and milestones. Congratulation you did some good work! Hopefully your backport PR will be tested by the continuous integration and merged soon! Remember to remove If these instruction are inaccurate, feel free to suggest an improvement. |
…3.5.x Backport PR #21240: DOC: Fix source links and flake8 cleanup
DOC: Fix source links and flake8 cleanup
DOC: Fix source links and flake8 cleanup
PR Summary
Instead of trying to figure out a regex, just use
packaging
to parse the version, and link to eithermaster
branch or a tag directly if a release.PR Checklist
pytest
passes).flake8
on changed files to check).flake8-docstrings
and runflake8 --docstring-convention=all
).doc/users/next_whats_new/
(follow instructions in README.rst there).doc/api/next_api_changes/
(follow instructions in README.rst there).