- Notifications
You must be signed in to change notification settings - Fork 356
LINT - Run updated pre-commit hooks #2049
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
Co-authored-by: Daniel McCloy <dan@mccloy.info>
fff8651 to e24e6d5 Compare e24e6d5 to 02acb86 Compare Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action | ||||||||||||||||||||||||||||||
| Thanks for your help @Carreau these are some of the most annoying PRs 💜 I am very grateful for you |
| This approach to https://github.com/pydata/pydata-sphinx-theme/blame/main/docs/conf.py#L197-L198 The problem is that the PR was squash-merged, so the referenced commit hashes don't exist on
In principle it should be possible to do it all as one PR (with 3 commits: enable-the-rule, apply-the-rule, and add-hash-to-ignore) and then rebase-merge that PR. But I've seen such attempts go sideways before --- maybe the commit hashes changed when rebased onto main? don't recall the details. The 2-PR approach is much less error-prone. |
| My bad, I forgot that the default here is squash-merge – I guess that's one of the reason I dislike squash-merge. And yes the commit hash do change when rebasing as the hash depends on all the parents. |
| Right, so would you suggest we revert this merge @drammock, or shall we do something else to fix this (I suppose we could add the squashed commit to the Also it might be worth adding #2049 (comment) to our dev docs |
| I think what I would do is:
I can work on this now, and will try to preserve all the correct authorships. |
This reverts commit f6102b4.
This reverts commit f6102b4.
This reverts commit f6102b4.
This reverts commit f6102b4.
This reverts commit f6102b4.
last piece of the re-doing of f6102b4 see #2049 (comment)
| All fixed! Now https://github.com/pydata/pydata-sphinx-theme/blame/main/docs/conf.py#L197-L198 points to #834 (2 years ago) |
…tion (#46883) ### Rationale for this change Stable and dev docs are not correctly updated and need manual intervention due to the [upstream change](pydata/pydata-sphinx-theme#2049) in version warning banner. ### What changes are included in this PR? Another sed substitution is added. ### Are these changes tested? I have tested locally with ``` > sed -i .bak -e '/^[[:space:]]\{8\}DOCUMENTATION_OPTIONS\.show_version_warning_banner =[[:space:]]*$/{ N s/^\([[:space:]]\{8\}DOCUMENTATION_OPTIONS\.show_version_warning_banner =[[:space:]]*\)\n[[:space:]]\{12\}false;/\1\n true;/g }' index.html ``` ### Are there any user-facing changes? No. * GitHub Issue: #45290 Lead-authored-by: AlenkaF <frim.alenka@gmail.com> Co-authored-by: Alenka Frim <AlenkaF@users.noreply.github.com> Co-authored-by: Sutou Kouhei <kou@cozmixng.org> Signed-off-by: AlenkaF <frim.alenka@gmail.com>
Follows-up #2044