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

mypy: further fixes, now tests passing #34

Merged
merged 2 commits into from
Jul 29, 2024

Conversation

jandom
Copy link
Contributor

@jandom jandom commented Jul 24, 2024

No description provided.

@jandom jandom force-pushed the jandom/fix/mypy-typechecking branch from 3c10f94 to cf081bf Compare July 24, 2024 12:18
@@ -227,7 +225,7 @@ def detect_and_decode(
if return_detections:
return decoded_qrs, detections
else:
return decoded_qrs
return decoded_qrs, None
Copy link
Owner

Choose a reason for hiding this comment

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

It should still returning only one parameter instead of two when return detections is False to avoid including breaking changes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Oh good catch!!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Will amend in another PR – i think this change got introduced to make the mypy "easier" to manage

@Eric-Canas Eric-Canas merged commit b5507e4 into Eric-Canas:main Jul 29, 2024
3 checks passed
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