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

Replace toml by tomllib and tomli_w #169

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

bkmgit
Copy link
Contributor

@bkmgit bkmgit commented Oct 19, 2024

Description

Closes #168 by replacing deprecated methods.

How Has This Been Tested?

Tested on Fedora linux 42.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • [ x] My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

setup.py Outdated Show resolved Hide resolved
src/gourmand/prefs.py Fixed Show fixed Hide fixed
src/gourmand/prefs.py Fixed Show fixed Hide fixed
src/gourmand/prefs.py Fixed Show fixed Hide fixed
src/gourmand/prefs.py Fixed Show fixed Hide fixed
tests/test_prefs.py Fixed Show fixed Hide fixed
tests/test_prefs.py Fixed Show fixed Hide fixed
tests/test_prefs.py Fixed Show fixed Hide fixed
@bkmgit bkmgit force-pushed the toml branch 2 times, most recently from b198f62 to a966deb Compare January 3, 2025 09:08
Copy link
Contributor

@FriedrichFroebel FriedrichFroebel left a comment

Choose a reason for hiding this comment

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

Why are we using the tom_ prefix instead of toml_ for more clarity?

@bkmgit
Copy link
Contributor Author

bkmgit commented Jan 3, 2025

Why are we using the tom_ prefix instead of toml_ for more clarity?

Changed to use toml_

setup.py Outdated Show resolved Hide resolved
@FriedrichFroebel FriedrichFroebel merged commit 4ec28cb into GourmandRecipeManager:main Jan 3, 2025
14 checks passed
@bkmgit bkmgit deleted the toml branch January 3, 2025 14:41
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.

Replace toml by tomllib
2 participants