Skip to content

[MINOR] style(client-python): Apply black formatting - #12861

Open
laserninja wants to merge 1 commit into
apache:mainfrom
laserninja:minor-python-black-format
Open

laserninja wants to merge 1 commit into
apache:mainfrom
laserninja:minor-python-black-format

Conversation

@laserninja

Copy link
Copy Markdown
Collaborator

What changes were proposed in this pull request?

This PR reformats four files under clients/client-python with the black version pinned in requirements-dev.txt. The changes are line wrapping only; no behavior is affected.

  • gravitino/api/catalog_change.py
  • gravitino/api/file/fileset_change.py
  • tests/integration/test_model_catalog.py
  • tests/integration/test_relational_catalog.py

Why are the changes needed?

These files are not formatted the way the pinned black version formats them, so the next unrelated change that touches them picks up incidental reformatting in its diff.

The drift is not caught today because the Gradle pythonFormat task runs black in place rather than in check mode, so CI stays green while the difference accumulates. Reformatting now keeps future diffs focused on their actual changes.

I noticed this while working on the Semantic Model Python client sub-tasks and kept it out of those PRs.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Reformatted with the pinned black version and confirmed a second run is a no-op, then ran the unit tests.

./gradlew :clients:client-python:test

Four files under clients/client-python are not formatted the way the
pinned black version formats them, so the first unrelated change that
touches them picks up incidental reformatting.

The Gradle pythonFormat task reformats in place rather than checking, so
CI stays green while the drift accumulates. Reformatting them now keeps
future diffs focused.

These are formatting-only changes; no behavior is affected.
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