Skip to content

Conversation

@gresavage
Copy link

  1. Python.Ruff.Report only creates a linting report. This adds the feature where a separate report for the ruff format checks can be created using Python.Ruff.FormatReport
  2. Python.Ruff functions invoke Python.Container() which installs the entire virtual environment. This change uses Python.Base instead, along with getting the projects locked version of ruff, to run the ruff linting and format checks without installing the environment which makes the checks considerably faster.
    • this also reduces end-user burden since there no longer needs to be any authentication added to the container.
  3. Python.Publish also invokes Python.Container() which is unnecessary and time-consuming. The switch to using Python.Base allows the uv build and uv publish commands to run in a slim container which requires only the target registry credentials.

Signed-off-by: Tom Gresavage <tomgresavage@gmail.com>
Signed-off-by: Tom Gresavage <tomgresavage@gmail.com>
Signed-off-by: Tom Gresavage <tomgresavage@gmail.com>
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