approval-utilities 14.3.0__py3-none-any.whl → 14.4.0__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 approval-utilities might be problematic. Click here for more details.

@@ -3,6 +3,7 @@ import json
3
3
  import os
4
4
 
5
5
  from copy import deepcopy
6
+ from pathlib import Path
6
7
 
7
8
  from typing import Callable, Dict, TypeVar
8
9
 
@@ -92,3 +93,8 @@ _K = TypeVar("_K")
92
93
 
93
94
  def filter_values(filter: Callable[[_V], bool], a_dict: Dict[_K, _V]) -> Dict[_K, _V]:
94
95
  return {k: v for k, v in a_dict.items() if filter(v)}
96
+
97
+
98
+ def append_to_file(file: Path, text: str):
99
+ with file.open(mode="a") as f:
100
+ f.write(text)
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.1
1
+ Metadata-Version: 2.4
2
2
  Name: approval_utilities
3
- Version: 14.3.0
3
+ Version: 14.4.0
4
4
  Summary: Utilities for your production code that work well with approvaltests
5
5
  Home-page: https://github.com/approvals/ApprovalTests.Python
6
6
  Author: ApprovalTests Contributors
@@ -21,3 +21,10 @@ Classifier: Topic :: Software Development :: Libraries
21
21
  Classifier: Topic :: Utilities
22
22
  Requires-Python: >=3.8
23
23
  License-File: LICENSE
24
+ Dynamic: author
25
+ Dynamic: author-email
26
+ Dynamic: classifier
27
+ Dynamic: home-page
28
+ Dynamic: license-file
29
+ Dynamic: requires-python
30
+ Dynamic: summary
@@ -1,7 +1,7 @@
1
1
  approval_utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
2
  approval_utilities/list_utils.py,sha256=7OT3YkysNmq3ZD7shzirQ8S9Yqf2rS7ckcMNKbC1Jf0,551
3
3
  approval_utilities/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
- approval_utilities/utils.py,sha256=bQLRa8iY9orwRzSLj6vR1oHEPi8xWb9XbhWrkrIiudw,2496
4
+ approval_utilities/utils.py,sha256=dMdQzmtTcWG49zxjio6OxB-d-hB7D_NGrCcMXR8pPUo,2623
5
5
  approval_utilities/approvaltests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  approval_utilities/approvaltests/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
7
7
  approval_utilities/approvaltests/core/executable_command.py,sha256=LFLD36fAe1ek8YlKdZbj8j3dfJ8InFBnIGS8OzaDxDQ,428
@@ -28,8 +28,8 @@ approval_utilities/utilities/logger/simple_logger.py,sha256=-MQ1sii7u5VYFO_Zle51
28
28
  approval_utilities/utilities/persistence/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
29
29
  approval_utilities/utilities/persistence/loader.py,sha256=0kLYZRhJh_SX4j6Fxf_9jN64WcgcgMoFTKkUd10S9vM,218
30
30
  approval_utilities/utilities/persistence/saver.py,sha256=_xZxyeNkzAweicun69mgBYSakyeObJxesy7aVAIdWl0,223
31
- approval_utilities-14.3.0.dist-info/LICENSE,sha256=c7p036pSC0mkAbXSFFmoUjoUbzt1GKgz7qXvqFEwv2g,10273
32
- approval_utilities-14.3.0.dist-info/METADATA,sha256=JYLC2bL8ahVPbzxsIBsyXNKjhKwoJRJaTwM39n0AGzw,1004
33
- approval_utilities-14.3.0.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
34
- approval_utilities-14.3.0.dist-info/top_level.txt,sha256=9uDtIZHmdLyDNIBh-jNfEM1dA6lBDmo5ftR376zOiv4,19
35
- approval_utilities-14.3.0.dist-info/RECORD,,
31
+ approval_utilities-14.4.0.dist-info/licenses/LICENSE,sha256=c7p036pSC0mkAbXSFFmoUjoUbzt1GKgz7qXvqFEwv2g,10273
32
+ approval_utilities-14.4.0.dist-info/METADATA,sha256=IPkjvdTK1QP16L_orOzTJFWRx65Jm69ejVCsNfmY0bc,1145
33
+ approval_utilities-14.4.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
34
+ approval_utilities-14.4.0.dist-info/top_level.txt,sha256=9uDtIZHmdLyDNIBh-jNfEM1dA6lBDmo5ftR376zOiv4,19
35
+ approval_utilities-14.4.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.6.0)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5