-
Notifications
You must be signed in to change notification settings - Fork 41
chore: Add proper ruff configuration #69
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
Conversation
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>
|
I'll be fixing issues in this PR later after merging local execution PRs #68 |
|
@szaher Can you rebase this PR, so we can have the valid ruff linter ? |
Signed-off-by: Saad Zaher <szaher@redhat.com>
Signed-off-by: Saad Zaher <szaher@redhat.com>
|
/unhold |
Signed-off-by: Saad Zaher <szaher@redhat.com>
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 @szaher!
/assign @kubeflow/kubeflow-sdk-team
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>
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 @szaher!
/lgtm
/assign @Electronic-Waste @kramaranya @astefanutti
Signed-off-by: Saad Zaher <szaher@redhat.com>
|
/lgtm |
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.
/lgtm
Very nice, thanks @szaher!
|
/approve |
|
[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 |
* 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>
* 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>
* 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>
What this PR does / why we need it:
Add proper ruff configuration to
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: