question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Switch to `tomli`

See original GitHub issue

pre-commit seems to have a dependency on toml. https://github.com/pre-commit/pre-commit/blob/7858ad066f2dfd11453c2f7e25c8f055ba4de931/setup.cfg#L30

That package

  • has not been updated for longer than a year
  • is not compatible with Python 3.10, which has been out for almost half a year

Most of the Python community has shifted to tomli (PyPI, repo) instead. Could pre-commit also do the same?

I’m happy to contribute to this.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
asottilecommented, Feb 11, 2022

I’m not asking for support.

could you please help me with this error?

which is it?

1reaction
asottilecommented, Feb 11, 2022

if you want support consider sponsoring – I’m not part of the poetry project and don’t recommend or use their software

Read more comments on GitHub >

github_iconTop Results From Across the Web

consider switching from toml to tomli · Issue #8789 · pytest-dev ...
What's the problem this feature will solve? pip is moving from toml to tomli pypa/pip#10035 pytest should consider following suit pip: pypa/pip#10035 build: ......
Read more >
tomli - PyPI
Tomli. A lil' TOML parser. Table of Contents generated with mdformat-toc ... Tomli is a Python library for parsing TOML. ... Switch to...
Read more >
Mike Tomlin shares why he made QB switch
Pittsburgh Steelers coach Mike Tomlin shared why he benched Mitch Trubisky for rookie Kenny Pickett against the New York Jets.
Read more >
Python and TOML: New Best Friends - Real Python
Read TOML Documents With tomli and tomllib; Compare TOML Types and Python Types; Use Configuration Files in Your Projects.
Read more >
Dalvin Tomlinson on How the Switch to a 3-4 Defense Impacts ...
Minnesota Vikings DT Dalvin Tomlinson addressed the media from the TCO Performance Center.#MinnesotaVikings #Vikings #NFL #MN #Football ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found