Skip to content

Commit

Permalink
use tomlkit instead of toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jprochazk committed Mar 13, 2024
1 parent 90d9679 commit 763802c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/code-examples/compare_code_example_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@
from os.path import isfile, join
from pathlib import Path

import toml
import tomlkit

sys.path.append(os.path.dirname(os.path.realpath(__file__)) + "/../../scripts/")
from roundtrip_utils import roundtrip_env, run, run_comparison # noqa

config_path = Path(__file__).parent / "snippets.toml"
config = toml.loads(config_path.read_text())
config = tomlkit.loads(config_path.read_text())
OPT_OUT_RUN = config.opt_out.run
OPT_OUT_COMPARE = config.opt_out.compare
EXTRA_ARGS = {
Expand Down

0 comments on commit 763802c

Please sign in to comment.