Skip to content

Conversation

@szaher
Copy link
Member

@szaher szaher commented Aug 22, 2025

What this PR does / why we need it:

Add proper ruff configuration to

  • support proper linting
  • support ruff format
  • support isort with ruff
  • update pre-commit configs

Which issue(s) this PR fixes (optional, in Fixes #<issue number>, #<issue number>, ... format, will close the issue(s) when PR gets merged):

Fixes #

Checklist:

  • Docs included if any changes are user facing

Add proper ruff configuration to
* support proper linting
* support ruff format
* support isort with ruff
* update pre-commit configs

Signed-off-by: Saad Zaher <eng.szaher@gmail.com>
@szaher
Copy link
Member Author

szaher commented Aug 22, 2025

I'll be fixing issues in this PR later after merging local execution PRs #68
/hold

@andreyvelich
Copy link
Member

@szaher Can you rebase this PR, so we can have the valid ruff linter ?

Signed-off-by: Saad Zaher <szaher@redhat.com>
@google-oss-prow google-oss-prow bot added size/XL and removed size/XXL labels Sep 9, 2025
Signed-off-by: Saad Zaher <szaher@redhat.com>
@google-oss-prow google-oss-prow bot added size/XXL and removed size/XL labels Sep 9, 2025
@szaher
Copy link
Member Author

szaher commented Sep 9, 2025

/unhold

Signed-off-by: Saad Zaher <szaher@redhat.com>
Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @szaher!
/assign @kubeflow/kubeflow-sdk-team

szaher and others added 3 commits September 15, 2025 12:34
remove reduandant `uv sync`

Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Signed-off-by: Saad Zaher <szaher@redhat.com>
add labels next to linters codes

Signed-off-by: Saad Zaher <szaher@redhat.com>
Signed-off-by: Saad Zaher <szaher@redhat.com>
Copy link
Member

@andreyvelich andreyvelich left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@google-oss-prow google-oss-prow bot added the lgtm label Sep 15, 2025
Signed-off-by: Saad Zaher <szaher@redhat.com>
@google-oss-prow google-oss-prow bot removed the lgtm label Sep 15, 2025
@andreyvelich
Copy link
Member

/lgtm

Copy link
Contributor

@astefanutti astefanutti left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

Very nice, thanks @szaher!

@andreyvelich
Copy link
Member

/approve

@google-oss-prow
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: andreyvelich

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow bot merged commit 9985c29 into kubeflow:main Sep 15, 2025
10 checks passed
@google-oss-prow google-oss-prow bot added this to the v0.1 milestone Sep 15, 2025
accorvin pushed a commit to opendatahub-io/kubeflow-sdk that referenced this pull request Oct 8, 2025
* chore: Add proper ruff configuration

Add proper ruff configuration to
* support proper linting
* support ruff format
* support isort with ruff
* update pre-commit configs

Signed-off-by: Saad Zaher <eng.szaher@gmail.com>

* merge with main

Signed-off-by: Saad Zaher <szaher@redhat.com>

* fix format

Signed-off-by: Saad Zaher <szaher@redhat.com>

* fix linting issues

Signed-off-by: Saad Zaher <szaher@redhat.com>

* Update Makefile

remove reduandant `uv sync`

Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Signed-off-by: Saad Zaher <szaher@redhat.com>

* let linter handle line-length \n

add labels next to linters codes

Signed-off-by: Saad Zaher <szaher@redhat.com>

* remove duplicate labels from linter

Signed-off-by: Saad Zaher <szaher@redhat.com>

* remove unwanted comment in pyproject.toml

Signed-off-by: Saad Zaher <szaher@redhat.com>

---------

Signed-off-by: Saad Zaher <eng.szaher@gmail.com>
Signed-off-by: Saad Zaher <szaher@redhat.com>
Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
MStokluska pushed a commit to opendatahub-io/kubeflow-sdk that referenced this pull request Oct 15, 2025
* chore: Add proper ruff configuration

Add proper ruff configuration to
* support proper linting
* support ruff format
* support isort with ruff
* update pre-commit configs

Signed-off-by: Saad Zaher <eng.szaher@gmail.com>

* merge with main

Signed-off-by: Saad Zaher <szaher@redhat.com>

* fix format

Signed-off-by: Saad Zaher <szaher@redhat.com>

* fix linting issues

Signed-off-by: Saad Zaher <szaher@redhat.com>

* Update Makefile

remove reduandant `uv sync`

Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Signed-off-by: Saad Zaher <szaher@redhat.com>

* let linter handle line-length \n

add labels next to linters codes

Signed-off-by: Saad Zaher <szaher@redhat.com>

* remove duplicate labels from linter

Signed-off-by: Saad Zaher <szaher@redhat.com>

* remove unwanted comment in pyproject.toml

Signed-off-by: Saad Zaher <szaher@redhat.com>

---------

Signed-off-by: Saad Zaher <eng.szaher@gmail.com>
Signed-off-by: Saad Zaher <szaher@redhat.com>
Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
MStokluska pushed a commit to opendatahub-io/kubeflow-sdk that referenced this pull request Oct 15, 2025
* chore: Add proper ruff configuration

Add proper ruff configuration to
* support proper linting
* support ruff format
* support isort with ruff
* update pre-commit configs

Signed-off-by: Saad Zaher <eng.szaher@gmail.com>

* merge with main

Signed-off-by: Saad Zaher <szaher@redhat.com>

* fix format

Signed-off-by: Saad Zaher <szaher@redhat.com>

* fix linting issues

Signed-off-by: Saad Zaher <szaher@redhat.com>

* Update Makefile

remove reduandant `uv sync`

Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Signed-off-by: Saad Zaher <szaher@redhat.com>

* let linter handle line-length \n

add labels next to linters codes

Signed-off-by: Saad Zaher <szaher@redhat.com>

* remove duplicate labels from linter

Signed-off-by: Saad Zaher <szaher@redhat.com>

* remove unwanted comment in pyproject.toml

Signed-off-by: Saad Zaher <szaher@redhat.com>

---------

Signed-off-by: Saad Zaher <eng.szaher@gmail.com>
Signed-off-by: Saad Zaher <szaher@redhat.com>
Co-authored-by: Andrey Velichkevich <andrey.velichkevich@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants