Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Add GHA testing whether files were added and deleted in the same PR.#21359

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
timhoffm merged 1 commit intomatplotlib:masterfromanntzer:cleanpr
Oct 15, 2021

Conversation

anntzer
Copy link
Contributor

PR Summary

Currently has two extra commits that test the functionality and should fail the workflow. Will remove these commits once we know this works.

PR Checklist

  • Has pytest style unit tests (andpytest passes).
  • IsFlake 8 compliant (runflake8 on changed files to check).
  • New features are documented, with examples if plot related.
  • Documentation is sphinx and numpydoc compliant (the docs shouldbuild without error).
  • Conforms to Matplotlib style conventions (installflake8-docstrings and runflake8 --docstring-convention=all).
  • New features have an entry indoc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented indoc/api/next_api_changes/ (follow instructions in README.rst there).

@anntzeranntzerforce-pushed thecleanpr branch 9 times, most recently from940ffb9 tocdc9e73CompareOctober 14, 2021 21:21
Copy link
Member

@timhoffmtimhoffm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Optional: Can we make the message stand out more? It's a bit burried between the other output:

grafik

Maybe add------------ lines above and below? Or do you have a better idea?

@anntzer
Copy link
ContributorAuthor

I removed the other output.
I don't think it's worth overengineering this, as we don't expect this to fail so often :-) But if you have a better solution, feel free to push it.

timhoffm reacted with thumbs up emoji

@QuLogic
Copy link
Member

You can print out a special message which executes aworkflow command, creating an annotation. I'm not sure how it looks if the annotation is on a file that is subsequently deleted.

@anntzer
Copy link
ContributorAuthor

anntzer commentedOct 14, 2021
edited
Loading

I'm not sure I really want to try (and loop over lines in bash, which I never remember how to do :-)), but you should feel free to do so :-)

Copy link
Member

@jklymakjklymak left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

Looks helpful!

@timhoffm
Copy link
Member

@anntzer this is ready. Please remove the test commits.

@anntzer
Copy link
ContributorAuthor

Done.

@timhoffmtimhoffm merged commit5a99a60 intomatplotlib:masterOct 15, 2021
@timhoffm
Copy link
Member

@meeseeksdev backport to v3.5.x

meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestOct 15, 2021
@timhoffmtimhoffm added this to thev3.5.0 milestoneOct 15, 2021
jklymak added a commit that referenced this pull requestOct 15, 2021
…359-on-v3.5.xBackport PR#21359 on branch v3.5.x (Add GHA testing whether files were added and deleted in the same PR.)
@anntzeranntzer deleted the cleanpr branchOctober 15, 2021 11:16
tacaswell pushed a commit that referenced this pull requestOct 20, 2021
Add GHA testing whether files were added and deleted in the same PR.
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@jklymakjklymakjklymak approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
v3.5.0
Development

Successfully merging this pull request may close these issues.

4 participants
@anntzer@QuLogic@timhoffm@jklymak

[8]ページ先頭

©2009-2025 Movatter.jp