Skip to content

chore: fix some nits for make check-python#1169

Merged
lyj715824 merged 4 commits intoiflytek:mainfrom
dongjiang1989:add-golangci-linter
Apr 14, 2026
Merged

chore: fix some nits for make check-python#1169
lyj715824 merged 4 commits intoiflytek:mainfrom
dongjiang1989:add-golangci-linter

Conversation

@dongjiang1989
Copy link
Copy Markdown
Contributor

@dongjiang1989 dongjiang1989 commented Apr 13, 2026

Summary

Just some nits for make check

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update
  • Refactoring

Related Issue

Changes

dd0279ed-f482-474a-93c8-a16c5b84bf51

Testing

  • Existing tests pass
  • New tests added (if applicable)
  • Manual testing completed

Screenshots (if applicable)

Checklist

  • Code follows project coding standards
  • Self-review completed
  • Documentation updated (if needed)
  • Breaking changes documented

Signed-off-by: dongjiang <dongjiang1989@126.com>
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request focuses on code cleanup and refactoring across various modules, including the removal of unused imports, fixing indentation in test files, and standardizing formatting for SQL queries and f-strings. In core/common/service/oss/s3_service.py, the exception handling logic was modified. However, the reviewer identified critical issues in this file where non-exception objects (a response object and a dictionary) were used in the 'from' clause of raise statements, which would result in runtime TypeErrors.

Comment thread core/common/service/oss/s3_service.py Outdated
Comment thread core/common/service/oss/s3_service.py Outdated
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 13, 2026

CLA assistant check
All committers have signed the CLA.

@dongjiang1989 dongjiang1989 changed the title chore: fix some nits for make check chore: fix some nits for make check-python Apr 13, 2026
dongjiang1989 and others added 3 commits April 13, 2026 19:57
Signed-off-by: dongjiang <dongjiang1989@126.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: dongjiang <dongjiang2010@gmail.com>
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
Signed-off-by: dongjiang <dongjiang2010@gmail.com>
@dongjiang1989
Copy link
Copy Markdown
Contributor Author

cc @scguoi ptal

@dongjiang1989 dongjiang1989 mentioned this pull request Apr 13, 2026
21 tasks
@lyj715824 lyj715824 merged commit 42106e6 into iflytek:main Apr 14, 2026
21 of 32 checks passed
@dongjiang1989 dongjiang1989 deleted the add-golangci-linter branch April 14, 2026 09:37
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.

3 participants