approval-utilities 10.4.0__py3-none-any.whl → 11.1.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.

@@ -4,7 +4,7 @@ from typing import Callable, List, Optional
4
4
  def format_list(alist: List[str], formatter: Optional[Callable], header: str) -> str:
5
5
  if formatter is None:
6
6
  formatter = FormatLineItem().print_item
7
- text = header + "\n\n"
7
+ text = (header + "\n\n") if header else ""
8
8
  for i in alist:
9
9
  text += formatter(i) + "\n"
10
10
  return text
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: approval_utilities
3
- Version: 10.4.0
3
+ Version: 11.1.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
@@ -1,5 +1,5 @@
1
1
  approval_utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
2
- approval_utilities/list_utils.py,sha256=alfg5-wA4TcqkLX9wQ7prlu2kVRvVk7GbiIY1jw9fUo,531
2
+ approval_utilities/list_utils.py,sha256=7OT3YkysNmq3ZD7shzirQ8S9Yqf2rS7ckcMNKbC1Jf0,551
3
3
  approval_utilities/utils.py,sha256=1M9HHAGfzFEajZPJj1-hXQaolTU4v42UjfylZd_xxSs,2127
4
4
  approval_utilities/approvaltests/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
5
  approval_utilities/approvaltests/core/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -27,8 +27,8 @@ approval_utilities/utilities/logger/simple_logger.py,sha256=-MQ1sii7u5VYFO_Zle51
27
27
  approval_utilities/utilities/persistence/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
28
28
  approval_utilities/utilities/persistence/loader.py,sha256=0kLYZRhJh_SX4j6Fxf_9jN64WcgcgMoFTKkUd10S9vM,218
29
29
  approval_utilities/utilities/persistence/saver.py,sha256=_xZxyeNkzAweicun69mgBYSakyeObJxesy7aVAIdWl0,223
30
- approval_utilities-10.4.0.dist-info/LICENSE,sha256=c7p036pSC0mkAbXSFFmoUjoUbzt1GKgz7qXvqFEwv2g,10273
31
- approval_utilities-10.4.0.dist-info/METADATA,sha256=UywIXvfx6wkqqcNPgwwoOvA2uaIMYqNtH1CjuOn9F3g,1005
32
- approval_utilities-10.4.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
33
- approval_utilities-10.4.0.dist-info/top_level.txt,sha256=9uDtIZHmdLyDNIBh-jNfEM1dA6lBDmo5ftR376zOiv4,19
34
- approval_utilities-10.4.0.dist-info/RECORD,,
30
+ approval_utilities-11.1.0.dist-info/LICENSE,sha256=c7p036pSC0mkAbXSFFmoUjoUbzt1GKgz7qXvqFEwv2g,10273
31
+ approval_utilities-11.1.0.dist-info/METADATA,sha256=PbL4_vlozJQtWv2wJ1wQNqC2RXHgtbEX92UgRnmhsig,1005
32
+ approval_utilities-11.1.0.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
33
+ approval_utilities-11.1.0.dist-info/top_level.txt,sha256=9uDtIZHmdLyDNIBh-jNfEM1dA6lBDmo5ftR376zOiv4,19
34
+ approval_utilities-11.1.0.dist-info/RECORD,,