winipedia-utils 0.2.2__py3-none-any.whl → 0.2.3__py3-none-any.whl

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.

Potentially problematic release.


This version of winipedia-utils might be problematic. Click here for more details.

@@ -79,7 +79,9 @@ def _add_configurations_to_pyproject_toml() -> None:
79
79
  """Add tool.* configurations to pyproject.toml."""
80
80
  expected_tool_dict = _get_pyproject_toml_tool_configs()
81
81
  toml = laod_pyproject_toml()
82
- actual_tool_dict = toml.get("tool", {})
82
+ actual_tool_dict = toml.get("tool", None)
83
+ if actual_tool_dict is None:
84
+ actual_tool_dict = toml["tool"] = {}
83
85
  # update the toml dct and dump it but only update the tools specified not all tools
84
86
  for tool, config in expected_tool_dict.items():
85
87
  # if tool section already exists skip it
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: winipedia-utils
3
- Version: 0.2.2
3
+ Version: 0.2.3
4
4
  Summary: A package with many utility functions
5
5
  License-Expression: MIT
6
6
  License-File: LICENSE
@@ -35,7 +35,7 @@ winipedia_utils/os/__init__.py,sha256=WSLt7tb6HqWRlCGGIEwRfVksF0sLJNeEW3iZeJhGWk
35
35
  winipedia_utils/os/os.py,sha256=CXPVnagfj3dXlc8OIv1DirJpin8oaGXWetnmx2lULE4,1831
36
36
  winipedia_utils/projects/__init__.py,sha256=6oTiSlUMAwO5xnH4SGVnvspzKcxrxo9kn1L4xkjq1p8,53
37
37
  winipedia_utils/projects/poetry/__init__.py,sha256=0yNMuu9KmM19od4VBxBV3HLK-RdCsa0e2Zhg33J7RmQ,60
38
- winipedia_utils/projects/poetry/config.py,sha256=ghJzlNDVrSfG5Mg0JjnL9Xmz6fVD-rAHl41tjbFUBb8,2993
38
+ winipedia_utils/projects/poetry/config.py,sha256=t69GnAzMx8IsF_HImGiNBGZu3lQnTR3U0QYhL06IhqY,3075
39
39
  winipedia_utils/projects/poetry/poetry.py,sha256=QoQ-b8NgMiWaqq85gs2HZh_436VpNqKzGogrWPS5DrU,965
40
40
  winipedia_utils/projects/project.py,sha256=2nz1Hh51A-shjgdPCgiDw-ODrVtOtiHEHQnMPjAJZ-A,1587
41
41
  winipedia_utils/py.typed,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
@@ -74,7 +74,7 @@ winipedia_utils/testing/tests/base/utils/utils.py,sha256=dUPDrgAxlfREQb33zz23Mfz
74
74
  winipedia_utils/testing/tests/conftest.py,sha256=8RounBlI8Jq1aLaLNpv84MW4ne8Qq0aavQextDOp5ng,920
75
75
  winipedia_utils/text/__init__.py,sha256=j2bwtK6kyeHI6SnoBjpRju0C1W2n2paXBDlNjNtaUxA,48
76
76
  winipedia_utils/text/string.py,sha256=pK_VQXxSZa8HqHY1a6oMKfmN-OKteFE32eZaweCI22E,3508
77
- winipedia_utils-0.2.2.dist-info/licenses/LICENSE,sha256=3PrKJ2CWNrnyyHaC_r0wPDSukVWgmjOxHr__eQVH7cw,1087
78
- winipedia_utils-0.2.2.dist-info/METADATA,sha256=EXVK9DkBDNfHUTzkNWo6V6rbLyrl7Ecwf5rU-gZTkDU,12507
79
- winipedia_utils-0.2.2.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
80
- winipedia_utils-0.2.2.dist-info/RECORD,,
77
+ winipedia_utils-0.2.3.dist-info/licenses/LICENSE,sha256=3PrKJ2CWNrnyyHaC_r0wPDSukVWgmjOxHr__eQVH7cw,1087
78
+ winipedia_utils-0.2.3.dist-info/METADATA,sha256=91glhhoAEBJGw1RHzfIpWyBRqmzGC2h6h4K0RYGkjbI,12507
79
+ winipedia_utils-0.2.3.dist-info/WHEEL,sha256=zp0Cn7JsFoX2ATtOhtaFYIiE2rmFAD4OcMhtUki8W3U,88
80
+ winipedia_utils-0.2.3.dist-info/RECORD,,