✨feat: introduce python linting in agentcode#121
✨feat: introduce python linting in agentcode#121volcano-sh-bot merged 3 commits intovolcano-sh:mainfrom
Conversation
|
Note Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported. |
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #121 +/- ##
=======================================
Coverage ? 29.20%
=======================================
Files ? 28
Lines ? 2551
Branches ? 0
=======================================
Hits ? 745
Misses ? 1690
Partials ? 116
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
ouch! sorry sir , but you did not assign the epic so I thought it was free to work, or may be it was me who did not see the other open issue |
It's all good! I just wanted to point it out so we don't have duplicate efforts. Thanks for your contribution |
hzxuzhonghu
left a comment
There was a problem hiding this comment.
@LiZhenCheng9527 we should use ruff, which seems more widely used
6731f32 to
e4d4053
Compare
.github/workflows/python-lint.yml
Outdated
| pull_request: | ||
| branches: | ||
| - main | ||
| - release |
There was a problem hiding this comment.
| - release | |
| - release-* |
There was a problem hiding this comment.
added this in next commit, i should be more focused
.github/workflows/python-lint.yml
Outdated
| - "**.py" | ||
| - "cmd/cli/pyproject.toml" | ||
| - "sdk-python/pyproject.toml" | ||
| push: |
There was a problem hiding this comment.
no need add this trigger, this means it is merged
There was a problem hiding this comment.
ya thats actually make sense, we did not need to check the linting after pr merged.
.github/workflows/python-lint.yml
Outdated
| python-version: "3.10" | ||
| - name: Run Lint | ||
| run: | | ||
| make lint-python |
There was a problem hiding this comment.
I can not find this command in Makefile
There was a problem hiding this comment.
ya i try to write it myself but fails, so shift to writing into the workflow
Makefile
Outdated
| lint: golangci-lint ## Run golangci-lint | ||
| $(GOLANGCI_LINT) run ./... | ||
|
|
||
| .PHONY: lint-python |
There was a problem hiding this comment.
why this doesn't work here? just curious it fail with gen-check all
c940f4f to
301613d
Compare
|
@acsoto Please take a look at the python change |
|
|
||
| # Sandbox / CodeInterpreter configuration | ||
| CODEINTERPRETER_NAME = os.environ.get("CODEINTERPRETER_NAME", "simple-codeinterpreter") | ||
| SANDBOX_NAMESPACE = os.environ.get("SANDBOX_NAMESPACE", "default") |
There was a problem hiding this comment.
why not allow customize namespace?
9e72dab to
16d5e01
Compare
fixing things
16d5e01 to
3f664ce
Compare
|
Adding label DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
- Add GitHub workflow for Python linting using Ruff - Fix import ordering and formatting issues Signed-off-by: katara-Jayprakash <katarajayprakash@icloud.com>
3f664ce to
33d3a16
Compare
|
/cc @acsoto @hzxuzhonghu finally done! review and merge it sir! |
|
/lgtm |
|
@acsoto: changing LGTM is restricted to collaborators DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
thanx so we can merge it now? |
|
/lgtm |
|
/hold cancel |
|
thanx sir,✨ |


introduce python linting in agent code
fix's the part of:#81