Skip to content

[Python][CodeQL] Avoid explicitly returning a value from __init__#22706

Open
siliataider wants to merge 1 commit into
root-project:masterfrom
siliataider:code-quality
Open

[Python][CodeQL] Avoid explicitly returning a value from __init__#22706
siliataider wants to merge 1 commit into
root-project:masterfrom
siliataider:code-quality

Conversation

@siliataider

Copy link
Copy Markdown
Contributor

This Pull request:

Changes or fixes:

Minor cleanup: CodeQL flags explicit returns from __init__ since Python raises TypeError if it returns anything other than None. self._init currently returns None, so there's no behavior change here

@siliataider siliataider self-assigned this Jun 25, 2026

@guitargeek guitargeek left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks!

@github-actions

github-actions Bot commented Jun 25, 2026

Copy link
Copy Markdown

Test Results

    22 files      22 suites   3d 15h 38m 6s ⏱️
 3 872 tests  3 823 ✅   0 💤 49 ❌
75 630 runs  75 306 ✅ 275 💤 49 ❌

For more details on these failures, see this check.

Results for commit 0c5ba1c.

♻️ This comment has been updated with latest results.

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.

2 participants