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

chore: replace collection type hints with generics #231

Open
uniqueg opened this issue May 20, 2024 · 0 comments
Open

chore: replace collection type hints with generics #231

uniqueg opened this issue May 20, 2024 · 0 comments
Labels
priority: medium Medium priority type: maintenance Related to general repository maintenance workload: hours Likely takes hours to resolve
Milestone

Comments

@uniqueg
Copy link
Member

uniqueg commented May 20, 2024

Use type hint generics dict and list instead of typing.Dict and typing.List etc. across the entire codebase, as this is supported from Python 3.9 onwards; see PEP 585 for details.

Also check if any other changes introduced in Python 3.9 can be usefully applied to the codebase.

@uniqueg uniqueg added priority: medium Medium priority type: maintenance Related to general repository maintenance workload: hours Likely takes hours to resolve labels May 20, 2024
@uniqueg uniqueg added this to the v1.0.0 milestone May 20, 2024
@uniqueg uniqueg moved this to Todo other in FOCA release May 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium Medium priority type: maintenance Related to general repository maintenance workload: hours Likely takes hours to resolve
Projects
Status: Todo other
Development

No branches or pull requests

1 participant