Skip to content
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

style: add None for empty return statements in server.py #386

Merged

Conversation

mrKazzila
Copy link
Contributor

Summary

Simply added None to empty return to maintain consistency with other methods/functions that return None.
Example:

  1. return None
  2. return None

Also aligned with PEP 8 recommendations "Be consistent in return statements …".

Test Plan

N/A because both return and return None return None in the same way.

@charliermarsh charliermarsh merged commit 48c09d5 into astral-sh:main Feb 17, 2024
20 checks passed
@charliermarsh
Copy link
Member

Thanks!

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.

None yet

2 participants