Skip to content

Add explicit None return annotations to void method#3555

Open
mshsheikh wants to merge 1 commit into
openai:mainfrom
mshsheikh:patch-40
Open

Add explicit None return annotations to void method#3555
mshsheikh wants to merge 1 commit into
openai:mainfrom
mshsheikh:patch-40

Conversation

@mshsheikh
Copy link
Copy Markdown
Contributor

@mshsheikh mshsheikh commented Jun 1, 2026

Summary

  • This PR adds explicit -> None return annotations to methods that do not return a value.
  • It improves readability, makes the intent of these methods clearer, and keeps the code consistent with the rest of the file.
  • It also helps static type checkers and IDEs understand the code better.
  • This change does not affect runtime behavior.

Why

This improves type clarity and keeps the codebase consistent for static analysis. It does not change runtime behavior.

##Summary
- This PR adds explicit `-> None` return annotations to methods that do not return a value.
- It improves readability, makes the intent of these methods clearer, and keeps the code consistent with the rest of the file.
- It also helps static type checkers and IDEs understand the code better.
- This change does not affect runtime behavior.

##Why
This improves type clarity and keeps the codebase consistent for static analysis. It does not change runtime behavior.
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.

1 participant