-
Notifications
You must be signed in to change notification settings - Fork 10
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
MAINT Subclass recipe builders #36
Conversation
@@ -412,6 +375,105 @@ def _compile( | |||
self.src_extract_dir, self.src_dist_dir, build_env, config_settings | |||
) | |||
|
|||
def _patch(self) -> None: |
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.
There is no change in _patch
or other functions. It seems git diff is not smart enough to create a small diff.
…ide-build into subclass-builder
for more information, see https://pre-commit.ci
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.
Thanks, @ryanking13, looks like nice maintenance!
Prettier was quite helpful for me when linting YAML files for GitHub Actions, but I have no objections to removing it. We can use the VS Code extension for that. |
Thanks for the review!
Yeah, it is. But mirrors-prettier is deprecated, so I think we should drop it. There aren't much yaml files in this repository so I think it is okay |
#36 had a bug not supporting `cpython_module` type recipes. --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Subclasses RecipeBuilder based on the package type. This is to make it easier to distinguish between behavior that varies by package type. No functional changes intended.
I'll update the
buildall.py
as a follow-up.I also removed prettier from the pre-commit, which I don't think is very useful for pyodide-build.