Skip to content

Commit

Permalink
remove call to native tomllib because of missing features
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteOtter committed Aug 1, 2023
1 parent 33140dc commit 29e8025
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/nester/core/opinionated/opinionated_creation.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,10 @@
import subprocess
from typing import Any

# If a version of the dump method comes available in python 3.11's native tomllib, add a import try except here.
import toml
import yaml

try:
import tomllib as toml
except ImportError:
import toml

from . import exceptions, supported_linters


Expand Down

0 comments on commit 29e8025

Please sign in to comment.