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

Deprecate typing-module type hints in favour of Python 3.10+ built-in type hints #222

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

KoenHHNK
Copy link

Addresses #221.

In summary, this PR replaces all typing-module type hints by supported built-in type hints. This replaces List, Dict, Tuple, Type, Union and Optional with list, dict, tuple, type, Python's Union X | Y operand and Python's Optional X | None operand, respectively.

Copy link

Quality Gate Failed Quality Gate failed

Failed conditions
12.5% Duplication on New Code (required ≤ 3%)
B Reliability Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

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