Skip to content

Commit

Permalink
🔨 [poetry] Replace tomlkit.api include with tomlkit (#620)
Browse files Browse the repository at this point in the history
  • Loading branch information
cjolowicz authored Jan 19, 2022
1 parent 7134cb9 commit 3143a22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/nox_poetry/poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from typing import List
from typing import Optional

import tomlkit.api # https://github.com/sdispater/tomlkit/issues/128
import tomlkit
from nox.sessions import Session


Expand All @@ -30,7 +30,7 @@ def __init__(self, project: Path) -> None:
"""Initialize."""
path = project / "pyproject.toml"
text = path.read_text(encoding="utf-8")
data: Any = tomlkit.api.parse(text)
data: Any = tomlkit.parse(text)
self._config = data["tool"]["poetry"]

@property
Expand Down

0 comments on commit 3143a22

Please sign in to comment.