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 stubs and general maintenance #202

Merged
merged 6 commits into from
Aug 1, 2021
Merged

Conversation

cdgriffith
Copy link
Owner

@cdgriffith cdgriffith merged commit 2183dbc into develop Aug 1, 2021
@cdgriffith cdgriffith deleted the feature/add-mypy-stubs branch January 12, 2022 04:03
@DanieleQ97
Copy link

DanieleQ97 commented Sep 12, 2022

About tomli, Python 3.11 should add tomllib which is basically tomli but built-in.

Maybe in future toml could be dropped entirely and the import changed to something like:

try:
    import tomllib
except ModuleNotFoundError:
    import tomli as tomllib

@cdgriffith
Copy link
Owner Author

https://docs.python.org/3.11/library/tomllib.html

This module does not support writing TOML.

Will have to wait until it works for both reading and writing before it would be worth implementing IMO. And then will have to do a check for versions like this 3.11 for when it doesn't support writing. Them releasing it this early without writing abilities is quite a shortsighted headace.

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