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

__init__: Solve incosistent-return-statements #32

Merged

Conversation

punfil
Copy link
Contributor

@punfil punfil commented May 11, 2024

Scanning the code, pylint returned warning R1710
that not all paths in transform_pydantic_json return a value. This commit solves this issue by adding return None at the bottom of the function.

Scanning the code, pylint returned warning R1710
that not all paths in transform_pydantic_json return a value.
This commit solves this issue by adding return None
at the bottom of the function.

Signed-off-by: Wojciech Panfil <[email protected]>
@fcfangcc fcfangcc merged commit aec3308 into fcfangcc:main May 13, 2024
5 checks passed
@punfil punfil deleted the wpanfil_inconsistent_return_statements branch May 13, 2024 10: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.

2 participants