diff --git a/src/nester/core/opinionated/opinionated_creation.py b/src/nester/core/opinionated/opinionated_creation.py index 5ac659d..e9a3851 100644 --- a/src/nester/core/opinionated/opinionated_creation.py +++ b/src/nester/core/opinionated/opinionated_creation.py @@ -6,9 +6,13 @@ import subprocess from typing import Any -import toml import yaml +try: + import tomllib as toml +except ImportError: + import toml + from . import exceptions, supported_linters