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

Reverse mypy exceptions #471

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Reverse mypy exceptions #471

merged 1 commit into from
Nov 21, 2023

Conversation

robin-nitrokey
Copy link
Member

Instead of disabling strict checks per default and only enabling them for new code, this patch enables strict checks per default and disables them for old code. This makes sure that new code is not accidentally ignored.

This patch also fixes some simple typing issues so that we can drop some exceptions.

This is a preparation for adding type checks for the nethsm module and extending the fido2 module.

Instead of disabling strict checks per default and only enabling them
for new code, this patch enables strict checks per default and disables
them for old code.  This makes sure that new code is not accidentally
ignored.

This patch also fixes some simple typing issues so that we can drop some
exceptions.
@daringer
Copy link
Collaborator

on the path to full type hinting, nice!

@robin-nitrokey robin-nitrokey merged commit 743b703 into master Nov 21, 2023
10 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