Skip to content

Use tomli in place of unmaintained toml package#629

Merged
hhatto merged 1 commit intohhatto:mainfrom
mgorny:tomli
Oct 12, 2022
Merged

Use tomli in place of unmaintained toml package#629
hhatto merged 1 commit intohhatto:mainfrom
mgorny:tomli

Conversation

@mgorny
Copy link
Copy Markdown
Contributor

@mgorny mgorny commented Apr 6, 2022

Use the modern tomli TOML parser instead of toml. The latter
package is no longer maintained and does not support TOML 1.0.


Open question: tomli doesn't support Python 2. Do you prefer if I removed Python 2 support entirely, did some conditionals to support toml fallback on Python 2 or perhaps simply ignored missing pyproject.toml config support in Python 2 and skipped respective tests?

@hhatto hhatto self-requested a review April 7, 2022 00:36
Use the modern `tomli` TOML parser instead of `toml`.  The latter
package is no longer maintained and does not support TOML 1.0.
@codecov-commenter
Copy link
Copy Markdown

Codecov Report

Base: 97.91% // Head: 97.87% // Decreases project coverage by -0.04% ⚠️

Coverage data is based on head (d083694) compared to base (02bcfbf).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #629      +/-   ##
==========================================
- Coverage   97.91%   97.87%   -0.05%     
==========================================
  Files           1        1              
  Lines        2399     2399              
==========================================
- Hits         2349     2348       -1     
- Misses         50       51       +1     
Impacted Files Coverage Δ
autopep8.py 97.87% <100.00%> (-0.05%) ⬇️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mgorny
Copy link
Copy Markdown
Contributor Author

mgorny commented Oct 12, 2022

Ping.

Copy link
Copy Markdown
Owner

@hhatto hhatto left a comment

Choose a reason for hiding this comment

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

LGTM

@hhatto hhatto merged commit a1340ae into hhatto:main Oct 12, 2022
@hhatto
Copy link
Copy Markdown
Owner

hhatto commented Oct 12, 2022

@mgorny
Sorry for late reply.

merged this pr.
Thanks for your contribution 👍

@mgorny
Copy link
Copy Markdown
Contributor Author

mgorny commented Oct 13, 2022

Thanks!

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.

3 participants