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

Add python_project() function #192

Draft
wants to merge 88 commits into
base: develop
Choose a base branch
from
Draft

Conversation

NiklasRosenstein
Copy link
Contributor

@NiklasRosenstein NiklasRosenstein commented Feb 2, 2024

todo

  • Running kraken run fmt lint seems to run the *.check tasks before the formatting tasks, but it should be the other way around
  • Formatters (e.g. black and isort) skip over a build/ directory even if it is in the source tree and contains source files (like src/kraken/build/)

…the format/lint dependencies are now Pdm installed by Kraken
…ion which creates all tasks for a Python project.
@NiklasRosenstein NiklasRosenstein changed the title nr/python project Add python_project() function Feb 2, 2024
NiklasRosenstein and others added 23 commits March 22, 2024 00:25
…n the `proto/vendor` directory to exclude it
… disable `PACKAGE_VERSION_SUFFIX` and `PACKAGE_DIRECTORY_MATCH` lint rules for compatibility with Buffrs.
…` and `black` so that a `build/` directory in the `src/` directory also gets checked. We can do this safely because we expect the `src/` folder in a Python project to contain only files that should be checked unless otherwise explicitly specified
…the functional utils to `kraken.build.functional.v1alpha1`
…xBuildTask.cache_repo` property to include `image-manifest=true,oci-mediatypes=true` options for better OCI registry support (see https://aws.amazon.com/blogs/containers/announcing-remote-cache-support-in-amazon-ecr-for-buildkit-clients/)
@NiklasRosenstein NiklasRosenstein marked this pull request as draft August 5, 2024 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant