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.

viscm/bezierbuilder/curve.py Outdated Show resolved Hide resolved
viscm/bezierbuilder/curve.py Show resolved Hide resolved
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 merged commit af0f34e into matplotlib:main Jun 3, 2023
5 checks passed
@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.

None yet

2 participants