peek-python 25.0.22__tar.gz → 25.0.23__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {peek_python-25.0.22 → peek_python-25.0.23}/PKG-INFO +1 -1
- {peek_python-25.0.22 → peek_python-25.0.23}/peek/peek.py +4 -4
- {peek_python-25.0.22 → peek_python-25.0.23}/peek_python.egg-info/PKG-INFO +1 -1
- {peek_python-25.0.22 → peek_python-25.0.23}/pyproject.toml +1 -1
- {peek_python-25.0.22 → peek_python-25.0.23}/README.md +0 -0
- {peek_python-25.0.22 → peek_python-25.0.23}/peek/__init__.py +0 -0
- {peek_python-25.0.22 → peek_python-25.0.23}/peek_python.egg-info/SOURCES.txt +0 -0
- {peek_python-25.0.22 → peek_python-25.0.23}/peek_python.egg-info/dependency_links.txt +0 -0
- {peek_python-25.0.22 → peek_python-25.0.23}/peek_python.egg-info/requires.txt +0 -0
- {peek_python-25.0.22 → peek_python-25.0.23}/peek_python.egg-info/top_level.txt +0 -0
- {peek_python-25.0.22 → peek_python-25.0.23}/setup.cfg +0 -0
- {peek_python-25.0.22 → peek_python-25.0.23}/tests/test_peek.py +0 -0
|
@@ -34,7 +34,7 @@ import pprint
|
|
|
34
34
|
import builtins
|
|
35
35
|
import shutil
|
|
36
36
|
|
|
37
|
-
__version__ = "25.0.
|
|
37
|
+
__version__ = "25.0.23"
|
|
38
38
|
|
|
39
39
|
from pathlib import Path
|
|
40
40
|
|
|
@@ -50,9 +50,9 @@ else:
|
|
|
50
50
|
colorama.just_fix_windows_console()
|
|
51
51
|
|
|
52
52
|
try:
|
|
53
|
-
import
|
|
53
|
+
import tomllib
|
|
54
54
|
except ModuleNotFoundError:
|
|
55
|
-
import tomli as
|
|
55
|
+
import tomli as tomllib
|
|
56
56
|
|
|
57
57
|
|
|
58
58
|
class _Peek:
|
|
@@ -275,7 +275,7 @@ class _Peek:
|
|
|
275
275
|
_Peek.in_read_toml_message = f" in reading {toml_file} or environment variable(s)"
|
|
276
276
|
with open(toml_file, "r") as f:
|
|
277
277
|
config_as_str = f.read()
|
|
278
|
-
result.update(
|
|
278
|
+
result.update(tomllib.loads(config_as_str))
|
|
279
279
|
break
|
|
280
280
|
return result
|
|
281
281
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|