Skip to content
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

Fix main branch actions failures, other pre-commit tweaks #68

Merged
merged 7 commits into from
Jun 3, 2023

Conversation

mfisher87
Copy link
Collaborator

  • Remove no-commit-to-branch pre-commit check. It works OK until GitHub actions tries to run on a merge commit (on the main branch), and this causes it to fail.
  • Add end-of-file-fixer pre-commit fixer.
  • Replace use of eval calls in bezierbuilder with a lookup, decoupling function names from the "method" string being passed from the CLI. This sets us up to make those function names pep8-compliant at some point.

@mfisher87 mfisher87 requested a review from stefanv June 2, 2023 23:43
@mfisher87 mfisher87 force-pushed the more-formatting-rules branch from 7d06cb2 to feb0bd6 Compare June 2, 2023 23:47
mfisher87 added 3 commits June 2, 2023 19:15
This will help with pep8 naming convention compliance without breaking
the user-facing API. Specifically, we can lowercase the names of the
Bezier and CatmulClark functions without having to lowercase the string
argument values to the CLI.
@mfisher87 mfisher87 force-pushed the more-formatting-rules branch from feb0bd6 to 411f3e3 Compare June 3, 2023 01:16
mfisher87 added 2 commits June 2, 2023 19:18
This rule was causing GitHub Actions to fail on merge commit.
@mfisher87 mfisher87 force-pushed the more-formatting-rules branch from 411f3e3 to bbd66aa Compare June 3, 2023 01:18
@mfisher87 mfisher87 merged commit af0f34e into matplotlib:main Jun 3, 2023
@mfisher87 mfisher87 deleted the more-formatting-rules branch June 3, 2023 01:33
@mfisher87 mfisher87 added this to the v0.10 milestone Jun 11, 2023
@mfisher87 mfisher87 added the ci label Jun 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants