panda-pytest-assertions 0.2.1__tar.gz → 0.3.0__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.
Files changed (179) hide show
  1. panda_pytest_assertions-0.3.0/.config/.coveragerc +5 -0
  2. panda_pytest_assertions-0.3.0/.config/.editorconfig +17 -0
  3. panda_pytest_assertions-0.3.0/.config/.flake8 +13 -0
  4. panda_pytest_assertions-0.3.0/.config/mypy.ini +478 -0
  5. panda_pytest_assertions-0.3.0/.config/pytest.ini +13 -0
  6. panda_pytest_assertions-0.3.0/.config/ruff.toml +1350 -0
  7. panda_pytest_assertions-0.3.0/.coveragerc +1 -0
  8. panda_pytest_assertions-0.3.0/.editorconfig +1 -0
  9. panda_pytest_assertions-0.3.0/.flake8 +1 -0
  10. panda_pytest_assertions-0.3.0/.gitattributes +1 -0
  11. panda_pytest_assertions-0.3.0/.github/workflows/pr-checker.yml +43 -0
  12. panda_pytest_assertions-0.3.0/.github/workflows/release.yml +58 -0
  13. panda_pytest_assertions-0.3.0/.gitignore +131 -0
  14. panda_pytest_assertions-0.3.0/CHANGELOG.md +43 -0
  15. panda_pytest_assertions-0.3.0/NOTICE +1 -0
  16. panda_pytest_assertions-0.3.0/PKG-INFO +27 -0
  17. panda_pytest_assertions-0.3.0/README-DEV.MD +155 -0
  18. panda_pytest_assertions-0.3.0/docs/assert_context/index.md +129 -0
  19. panda_pytest_assertions-0.3.0/docs/assert_object/10.asserting.md +42 -0
  20. panda_pytest_assertions-0.3.0/docs/assert_object/20.expectations.md +357 -0
  21. panda_pytest_assertions-0.3.0/docs/assert_object/30.using_yaml.md +58 -0
  22. panda_pytest_assertions-0.3.0/docs/assert_object/40.asserters.md +57 -0
  23. panda_pytest_assertions-0.3.0/docs/assert_object/generating_expectation/10.definition.md +494 -0
  24. panda_pytest_assertions-0.3.0/docs/assert_object/generating_expectation/20.generators.md +57 -0
  25. panda_pytest_assertions-0.3.0/docs/assert_object/generating_expectation/index.md +86 -0
  26. panda_pytest_assertions-0.3.0/docs/assert_object/index.md +66 -0
  27. panda_pytest_assertions-0.3.0/docs/index.md +68 -0
  28. panda_pytest_assertions-0.3.0/mkdocs.yml +77 -0
  29. panda_pytest_assertions-0.3.0/mypy.ini +1 -0
  30. panda_pytest_assertions-0.3.0/pyproject.toml +45 -0
  31. panda_pytest_assertions-0.3.0/pytest.ini +1 -0
  32. panda_pytest_assertions-0.3.0/ruff.toml +1 -0
  33. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_assert_object.py +1 -1
  34. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_converters/expectation_from_yaml.py +1 -1
  35. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_objects_asserters/mapping_asserter.py +3 -3
  36. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_objects_asserters/mapping_subset_asserter.py +3 -3
  37. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_objects_asserters/ordered_elements_asserter.py +1 -1
  38. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/union_generator.py +1 -1
  39. panda_pytest_assertions-0.3.0/tests/__init__.py +0 -0
  40. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/__init__.py +0 -0
  41. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_context/__init__.py +0 -0
  42. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_context/test_assert_context.py +172 -0
  43. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/__init__.py +0 -0
  44. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_asserter_factories/__init__.py +0 -0
  45. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_asserter_factories/test_asserter_factory.py +139 -0
  46. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_asserter_factories/test_built_in_asserter_factory.py +11 -0
  47. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_converters/__init__.py +0 -0
  48. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_converters/conftest.py +127 -0
  49. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_converters/test_expectation_from_yaml.py +132 -0
  50. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_converters/test_expectation_to_yaml.py +7 -0
  51. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_expectation_modificators/__init__.py +0 -0
  52. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_expectation_modificators/test_is.py +19 -0
  53. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_expectation_modificators/test_is_type.py +85 -0
  54. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_expectation_modificators/test_mapping_subset.py +13 -0
  55. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_expectation_modificators/test_object_attibutes.py +13 -0
  56. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_expectation_modificators/test_stringified.py +13 -0
  57. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_expectation_modificators/test_unordered.py +18 -0
  58. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_expectation_modificators/test_with_type.py +121 -0
  59. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/__init__.py +0 -0
  60. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/__init__.py +0 -0
  61. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_equality.py +5 -0
  62. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_is_type.py +11 -0
  63. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_mapping.py +13 -0
  64. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_mapping_subset.py +13 -0
  65. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_object_attributes.py +11 -0
  66. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_of_type.py +13 -0
  67. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_stringified.py +5 -0
  68. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_uniform_mapping.py +13 -0
  69. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_uniform_mapping_subset.py +13 -0
  70. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_uniform_ordered.py +26 -0
  71. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_uniform_unordered.py +11 -0
  72. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_union.py +13 -0
  73. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_expectation_definitions/test_with_type.py +25 -0
  74. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generator_factories/__init__.py +0 -0
  75. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generator_factories/test_built_in_generator_factory.py +11 -0
  76. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generator_factories/test_generator_factory.py +140 -0
  77. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/__init__.py +0 -0
  78. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/conftest.py +61 -0
  79. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_equality_generator.py +52 -0
  80. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_equality_key_mapping_generator.py +115 -0
  81. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_is_type_generator.py +78 -0
  82. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_mapping_generator.py +123 -0
  83. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_mapping_subset_generator.py +111 -0
  84. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_object_attributes_generator.py +108 -0
  85. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_of_type_generator.py +87 -0
  86. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_ordered_generator.py +106 -0
  87. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_stringified_generator.py +55 -0
  88. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_uniform_mapping_generator.py +97 -0
  89. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_uniform_mapping_subset_generator.py +98 -0
  90. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_uniform_ordered_generator.py +96 -0
  91. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_union_generator.py +97 -0
  92. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_unordered_generator.py +89 -0
  93. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/_generators/test_with_type_generator.py +87 -0
  94. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/test_complex.py +424 -0
  95. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_generators/test_generate_expectation.py +64 -0
  96. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_objects_asserters/__init__.py +0 -0
  97. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_objects_asserters/conftest.py +39 -0
  98. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_objects_asserters/test_equality_asserter.py +50 -0
  99. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_objects_asserters/test_identity_asserter.py +69 -0
  100. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_objects_asserters/test_is_type_asserter.py +79 -0
  101. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_objects_asserters/test_mapping_asserter.py +69 -0
  102. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_objects_asserters/test_mapping_subset_asserter.py +74 -0
  103. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_objects_asserters/test_object_attributes_asserter.py +72 -0
  104. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_objects_asserters/test_ordered_elements_asserter.py +109 -0
  105. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_objects_asserters/test_stringified_asserter.py +54 -0
  106. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_objects_asserters/test_unordered_elements_asserter.py +88 -0
  107. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/_objects_asserters/test_with_type_asserter.py +103 -0
  108. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/test_assert_object.py +119 -0
  109. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/test_complex.py +316 -0
  110. panda_pytest_assertions-0.3.0/tests/panda_pytest_assertions/assert_object/test_error_messages.py +198 -0
  111. panda_pytest_assertions-0.3.0/uv.lock +1075 -0
  112. panda_pytest_assertions-0.2.1/PKG-INFO +0 -32
  113. panda_pytest_assertions-0.2.1/pyproject.toml +0 -37
  114. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0}/LICENSE +0 -0
  115. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0}/README.md +0 -0
  116. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/__init__.py +0 -0
  117. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_context/__init__.py +1 -1
  118. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_context/_assert_context.py +0 -0
  119. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/__init__.py +11 -11
  120. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_asserter_factories/__init__.py +0 -0
  121. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_asserter_factories/asserter_factory.py +0 -0
  122. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_asserter_factories/built_in_asserter_factory.py +0 -0
  123. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_converters/__init__.py +2 -2
  124. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_converters/expectation_to_yaml.py +0 -0
  125. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_expectation_modificators/__init__.py +1 -1
  126. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_expectation_modificators/identity.py +0 -0
  127. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_expectation_modificators/is_type.py +0 -0
  128. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_expectation_modificators/mapping_subset.py +0 -0
  129. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_expectation_modificators/object_attibutes.py +0 -0
  130. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_expectation_modificators/stringified.py +0 -0
  131. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_expectation_modificators/unordered.py +0 -0
  132. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_expectation_modificators/with_type.py +0 -0
  133. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_objects_asserters/__init__.py +0 -0
  134. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_objects_asserters/asserter.py +0 -0
  135. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_objects_asserters/equality_asserter.py +0 -0
  136. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_objects_asserters/identity_asserter.py +0 -0
  137. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_objects_asserters/is_type_asserter.py +0 -0
  138. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_objects_asserters/object_attributes_asserter.py +0 -0
  139. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_objects_asserters/stringified_asserter.py +0 -0
  140. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_objects_asserters/unordered_elements_asserter.py +0 -0
  141. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_objects_asserters/with_type_asserter.py +0 -0
  142. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/_protocols.py +0 -0
  143. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/__init__.py +5 -5
  144. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/__init__.py +2 -2
  145. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/equality.py +0 -0
  146. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/is_type.py +0 -0
  147. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/mapping.py +0 -0
  148. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/mapping_subset.py +0 -0
  149. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/object_attributes.py +0 -0
  150. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/of_type.py +0 -0
  151. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/stringified.py +0 -0
  152. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/uniform_mapping.py +0 -0
  153. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/uniform_mapping_subset.py +0 -0
  154. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/uniform_ordered.py +0 -0
  155. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/uniform_unordered.py +0 -0
  156. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/union.py +0 -0
  157. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_expectation_definitions/with_type.py +0 -0
  158. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generate_expectation.py +0 -0
  159. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generator_factories/__init__.py +0 -0
  160. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generator_factories/built_in_generator_factory.py +0 -0
  161. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generator_factories/generator_factory.py +0 -0
  162. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/__init__.py +3 -3
  163. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/equality_generator.py +0 -0
  164. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/equality_key_mapping_generator.py +0 -0
  165. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/exceptions.py +0 -0
  166. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/generator.py +0 -0
  167. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/is_type_generator.py +0 -0
  168. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/mapping_generator.py +0 -0
  169. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/mapping_subset_generator.py +0 -0
  170. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/object_attributes_generator.py +0 -0
  171. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/of_type_generator.py +0 -0
  172. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/ordered_generator.py +0 -0
  173. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/stringified_generator.py +0 -0
  174. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/uniform_mapping_generator.py +0 -0
  175. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/uniform_mapping_subset_generator.py +0 -0
  176. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/uniform_ordered_generator.py +0 -0
  177. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/unordered_generator.py +0 -0
  178. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/assert_object/generators/_generators/with_type_generator.py +0 -0
  179. {panda_pytest_assertions-0.2.1 → panda_pytest_assertions-0.3.0/src}/panda_pytest_assertions/py.typed +0 -0
@@ -0,0 +1,5 @@
1
+ [report]
2
+ exclude_lines =
3
+ pragma: no cover
4
+ if TYPE_CHECKING:
5
+ return NotImplemented
@@ -0,0 +1,17 @@
1
+ root = true
2
+
3
+ [*]
4
+ spelling_language = "en-US"
5
+ trim_trailing_whitespace = true
6
+ insert_final_newline = true
7
+ charset = utf-8
8
+ end_of_line = lf
9
+ indent_style = space
10
+ indent_size = 4
11
+
12
+ [*.{json,yaml,yml}]
13
+ indent_size = 2
14
+
15
+ [*.{md}]
16
+ indent_size = 4
17
+ trim_trailing_whitespace = false
@@ -0,0 +1,13 @@
1
+ [flake8]
2
+ count = True
3
+ extend-exclude = .*/
4
+
5
+ ### Rules choice
6
+ # DAR: We use flake8 just to run darglint, ruff takes care about the rest
7
+ select=DAR
8
+ # DAR401: The docstring is missing an exception raised
9
+ ignore=DAR401
10
+
11
+ ### Darglint options
12
+ docstring_style = sphinx
13
+ strictness = full
@@ -0,0 +1,478 @@
1
+ ### Configuration created for mypy==1.18.2
2
+
3
+ [mypy]
4
+
5
+ ### Import discovery
6
+ # Specifies the paths to use, after trying the paths from MYPYPATH environment
7
+ # variable. Useful if you’d like to keep stubs in your repo, along with the config file.
8
+ # Multiple paths are always separated with a : or , regardless of the platform.
9
+ # User home directory and environment variables will be expanded.
10
+ # Relative paths are treated relative to the working directory of the mypy command,
11
+ # not the config file.
12
+ # Use the MYPY_CONFIG_FILE_DIR environment variable to refer to paths relative to
13
+ # the config file (e.g. mypy_path = $MYPY_CONFIG_FILE_DIR/src).
14
+ # This option may only be set in the global section ([mypy]).
15
+ # Note: On Windows, use UNC paths to avoid using : (e.g. \\127.0.0.1\X$\MyDir where X is the drive letter).
16
+ #mypy_path =
17
+
18
+ # A comma-separated list of paths which should be checked by mypy if none are given on the command
19
+ # line. Supports recursive file globbing using glob, where * (e.g. *.py) matches
20
+ # files in the current directory and **/ (e.g. **/*.py) matches files in any directories below
21
+ # the current one. User home directory and environment variables will be expanded.
22
+ # This option may only be set in the global section ([mypy]).
23
+ files = .
24
+
25
+ # A comma-separated list of packages which should be checked by mypy if none are given on the command
26
+ # line. Mypy will not recursively type check any submodules of the provided
27
+ # module.
28
+ # This option may only be set in the global section ([mypy]).
29
+ #modules =
30
+
31
+ # A comma-separated list of packages which should be checked by mypy if none are given on the command
32
+ # line. Mypy will recursively type check any submodules of the provided
33
+ # package. This flag is identical to modules apart from this
34
+ # behavior.
35
+ # This option may only be set in the global section ([mypy]).
36
+ #packages =
37
+
38
+ # A regular expression that matches file names, directory names and paths
39
+ # which mypy should ignore while recursively discovering files to check.
40
+ # Use forward slashes (/) as directory separators on all platforms.
41
+ # Crafting a single regular expression that excludes multiple files while remaining
42
+ # human-readable can be a challenge. The above example demonstrates one approach.
43
+ # (?x) enables the VERBOSE flag for the subsequent regular expression, which
44
+ # ignores most whitespace and supports comments.
45
+ # The above is equivalent to: (^one\.py$|two\.pyi$|^three\.).
46
+ # For more details, see --exclude.
47
+ # This option may only be set in the global section ([mypy]).
48
+ #exclude =
49
+
50
+ # This flag will add everything that matches .gitignore file(s) to exclude.
51
+ # This option may only be set in the global section ([mypy]).
52
+ exclude_gitignore = False
53
+
54
+ # Enables PEP 420 style namespace packages. See the
55
+ # corresponding flag --no-namespace-packages
56
+ # for more information.
57
+ # This option may only be set in the global section ([mypy]).
58
+ namespace_packages = True
59
+
60
+ # This flag tells mypy that top-level packages will be based in either the
61
+ # current directory, or a member of the MYPYPATH environment variable or
62
+ # mypy_path config option. This option is only useful in
63
+ # the absence of __init__.py. See Mapping file
64
+ # paths to modules for details.
65
+ # This option may only be set in the global section ([mypy]).
66
+ explicit_package_bases = False
67
+
68
+ # Suppresses error messages about imports that cannot be resolved.
69
+ # If this option is used in a per-module section, the module name should
70
+ # match the name of the imported module, not the module containing the
71
+ # import statement.
72
+ ignore_missing_imports = False
73
+
74
+ # Makes mypy analyze imports from installed packages even if missing a
75
+ # py.typed marker or stubs.
76
+ # If this option is used in a per-module section, the module name should
77
+ # match the name of the imported module, not the module containing the
78
+ # import statement.
79
+ follow_untyped_imports = False
80
+
81
+ # Directs what to do with imports when the imported module is found
82
+ # as a .py file and not part of the files, modules and packages
83
+ # provided on the command line.
84
+ # The four possible values are normal, silent, skip and
85
+ # error. For explanations see the discussion for the
86
+ # --follow-imports command line flag.
87
+ # Using this option in a per-module section (potentially with a wildcard,
88
+ # as described at the top of this page) is a good way to prevent mypy from
89
+ # checking portions of your code.
90
+ # If this option is used in a per-module section, the module name should
91
+ # match the name of the imported module, not the module containing the
92
+ # import statement.
93
+ follow_imports = normal
94
+
95
+ # Determines whether to respect the follow_imports setting even for
96
+ # stub (.pyi) files.
97
+ # Used in conjunction with follow_imports=skip, this can be used
98
+ # to suppress the import of a module from typeshed, replacing it
99
+ # with Any.
100
+ # Used in conjunction with follow_imports=error, this can be used
101
+ # to make any use of a particular typeshed module an error.
102
+ follow_imports_for_stubs = False
103
+
104
+ # Specifies the path to the Python executable to inspect to collect
105
+ # a list of available PEP 561 packages. User
106
+ # home directory and environment variables will be expanded. Defaults to
107
+ # the executable used to run mypy.
108
+ # This option may only be set in the global section ([mypy]).
109
+ #python_executable =
110
+
111
+ # Disables using type information in installed packages (see PEP 561).
112
+ # This will also disable searching for a usable Python executable. This acts
113
+ # the same as --no-site-packages command
114
+ # line flag.
115
+ no_site_packages = False
116
+
117
+ # Enables reporting error messages generated within installed packages (see
118
+ # PEP 561 for more details on distributing type information). Those error
119
+ # messages are suppressed by default, since you are usually not able to
120
+ # control errors in 3rd party code.
121
+ # This option may only be set in the global section ([mypy]).
122
+ no_silence_site_packages = False
123
+
124
+
125
+ ### Platform configuration
126
+ # Specifies the Python version used to parse and check the target
127
+ # program. The string should be in the format MAJOR.MINOR –
128
+ # for example 3.9. The default is the version of the Python
129
+ # interpreter used to run mypy.
130
+ # This option may only be set in the global section ([mypy]).
131
+ #python_version =
132
+
133
+ # Specifies the OS platform for the target program, for example
134
+ # darwin or win32 (meaning OS X or Windows, respectively).
135
+ # The default is the current platform as revealed by Python’s
136
+ # sys.platform variable.
137
+ # This option may only be set in the global section ([mypy]).
138
+ #platform =
139
+
140
+ # Specifies a list of variables that mypy will treat as
141
+ # compile-time constants that are always true.
142
+ #always_true =
143
+
144
+ # Specifies a list of variables that mypy will treat as
145
+ # compile-time constants that are always false.
146
+ #always_false =
147
+
148
+
149
+ ### Disallow dynamic typing
150
+ # Disallows usage of types that come from unfollowed imports (anything imported from
151
+ # an unfollowed import is automatically given a type of Any).
152
+ disallow_any_unimported = False
153
+
154
+ # Disallows all expressions in the module that have type Any.
155
+ disallow_any_expr = False
156
+
157
+ # Disallows functions that have Any in their signature after decorator transformation.
158
+ disallow_any_decorated = False
159
+
160
+ # Disallows explicit Any in type positions such as type annotations and generic
161
+ # type parameters.
162
+ disallow_any_explicit = False
163
+
164
+ # Disallows usage of generic types that do not specify explicit type parameters.
165
+ disallow_any_generics = True
166
+
167
+ # Disallows subclassing a value of type Any.
168
+ disallow_subclassing_any = True
169
+
170
+
171
+ ### Untyped definitions and calls
172
+ # Disallows calling functions without type annotations from functions with type
173
+ # annotations. Note that when used in per-module options, it enables/disables
174
+ # this check inside the module(s) specified, not for functions that come
175
+ # from that module(s), for example config like this:
176
+ # will disable this check inside some.library, not for your code that
177
+ # imports some.library. If you want to selectively disable this check for
178
+ # all your code that imports some.library you should instead use
179
+ # untyped_calls_exclude, for example:
180
+ disallow_untyped_calls = True
181
+
182
+ # Selectively excludes functions and methods defined in specific packages,
183
+ # modules, and classes from action of disallow_untyped_calls.
184
+ # This also applies to all submodules of packages (i.e. everything inside
185
+ # a given prefix). Note, this option does not support per-file configuration,
186
+ # the exclusions list is defined globally for all your code.
187
+ #untyped_calls_exclude =
188
+
189
+ # Disallows defining functions without type annotations or with incomplete type
190
+ # annotations (a superset of disallow_incomplete_defs).
191
+ # For example, it would report an error for def f(a, b) and def f(a: int, b).
192
+ disallow_untyped_defs = True
193
+
194
+ # Disallows defining functions with incomplete type annotations, while still
195
+ # allowing entirely unannotated definitions.
196
+ # For example, it would report an error for def f(a: int, b) but not def f(a, b).
197
+ disallow_incomplete_defs = True
198
+
199
+ # Type-checks the interior of functions without type annotations.
200
+ check_untyped_defs = True
201
+
202
+ # Reports an error whenever a function with type annotations is decorated with a
203
+ # decorator without annotations.
204
+ disallow_untyped_decorators = True
205
+
206
+
207
+ ### None and Optional handling
208
+ # Causes mypy to treat parameters with a None
209
+ # default value as having an implicit optional type (T | None).
210
+ # Note: This was True by default in mypy versions 0.980 and earlier.
211
+ implicit_optional = False
212
+
213
+ # Effectively disables checking of optional
214
+ # types and None values. With this option, mypy doesn’t
215
+ # generally check the use of None values – it is treated
216
+ # as compatible with every type.
217
+ strict_optional = True
218
+
219
+
220
+ ### Configuring warnings
221
+ # Warns about casting an expression to its inferred type.
222
+ # This option may only be set in the global section ([mypy]).
223
+ warn_redundant_casts = True
224
+
225
+ # Warns about unneeded # type: ignore comments.
226
+ warn_unused_ignores = True
227
+
228
+ # Shows errors for missing return statements on some execution paths.
229
+ warn_no_return = True
230
+
231
+ # Shows a warning when returning a value with type Any from a function
232
+ # declared with a non- Any return type.
233
+ warn_return_any = True
234
+
235
+ # Shows a warning when encountering any code inferred to be unreachable or
236
+ # redundant after performing type analysis.
237
+ warn_unreachable = True
238
+
239
+ # Selectively excludes functions and methods defined in specific packages,
240
+ # modules, and classes from the deprecated error code.
241
+ # This also applies to all submodules of packages (i.e. everything inside
242
+ # a given prefix). Note, this option does not support per-file configuration,
243
+ # the exclusions list is defined globally for all your code.
244
+ #deprecated_calls_exclude =
245
+
246
+
247
+ ### Suppressing errors
248
+ # Ignores all non-fatal errors.
249
+ ignore_errors = False
250
+
251
+
252
+ ### Miscellaneous strictness flags
253
+ # Causes mypy to suppress errors caused by not being able to fully
254
+ # infer the types of global and class variables.
255
+ allow_untyped_globals = False
256
+
257
+ # By default, mypy won’t allow a variable to be redefined with an
258
+ # unrelated type. This experimental flag enables the redefinition of
259
+ # unannotated variables with an arbitrary type. You will also need to enable
260
+ # local_partial_types.
261
+ # Example:
262
+ # This also enables an unannotated variable to have different types in different
263
+ # code locations:
264
+ # Note: We are planning to turn this flag on by default in a future mypy
265
+ # release, along with local_partial_types.
266
+ allow_redefinition_new = False
267
+
268
+ # Allows variables to be redefined with an arbitrary type, as long as the redefinition
269
+ # is in the same block and nesting level as the original definition.
270
+ # Example where this can be useful:
271
+ # The variable must be used before it can be redefined:
272
+ allow_redefinition = False
273
+
274
+ # Disallows inferring variable type for None from two assignments in different scopes.
275
+ # This is always implicitly enabled when using the mypy daemon.
276
+ # This will be enabled by default in a future mypy release.
277
+ local_partial_types = False
278
+
279
+ # Allows disabling one or multiple error codes globally.
280
+ #disable_error_code =
281
+
282
+ # Allows enabling one or multiple error codes globally.
283
+ # Note: This option will override disabled error codes from the disable_error_code option.
284
+ #enable_error_code =
285
+
286
+ # This flag enables additional checks that are technically correct but may be impractical.
287
+ # See mypy --extra-checks for more info.
288
+ extra_checks = True
289
+
290
+ # By default, imported values to a module are treated as exported and mypy allows
291
+ # other modules to import them. When false, mypy will not re-export unless
292
+ # the item is imported using from-as or is included in __all__. Note that mypy
293
+ # treats stub files as if this is always disabled. For example:
294
+ implicit_reexport = False
295
+
296
+ # Prohibit equality checks, identity checks, and container checks between
297
+ # non-overlapping types (except None).
298
+ strict_equality = True
299
+
300
+ # Include None in strict equality checks (requires strict_equality
301
+ # to be activated).
302
+ strict_equality_for_none = False
303
+
304
+ # Disable treating bytearray and memoryview as subtypes of bytes.
305
+ # This will be enabled by default in mypy 2.0.
306
+ strict_bytes = False
307
+
308
+ # Enable all optional error checking flags. You can see the list of
309
+ # flags enabled by strict mode in the full mypy --help
310
+ # output.
311
+ # Note: the exact list of flags enabled by strict may
312
+ # change over time.
313
+ strict = True
314
+
315
+
316
+ ### Configuring error messages
317
+ # Prefixes each error with the relevant context.
318
+ show_error_context = False
319
+
320
+ # Shows column numbers in error messages.
321
+ show_column_numbers = False
322
+
323
+ # Shows documentation link to corresponding error code.
324
+ show_error_code_links = False
325
+
326
+ # Hides error codes in error messages. See Error codes for more information.
327
+ hide_error_codes = False
328
+
329
+ # Use visually nicer output in error messages: use soft word wrap,
330
+ # show source code snippets, and show error location markers.
331
+ pretty = False
332
+
333
+ # Shows error messages with color enabled.
334
+ color_output = True
335
+
336
+ # Shows a short summary line after error messages.
337
+ error_summary = True
338
+
339
+ # Show absolute paths to files.
340
+ show_absolute_path = False
341
+
342
+ # Always use Union[] and Optional[] for union types
343
+ # in error messages (instead of the | operator),
344
+ # even on Python 3.10+.
345
+ force_union_syntax = False
346
+
347
+
348
+ ### Incremental mode
349
+ # Enables incremental mode.
350
+ incremental = True
351
+
352
+ # Specifies the location where mypy stores incremental cache info.
353
+ # User home directory and environment variables will be expanded.
354
+ # This setting will be overridden by the MYPY_CACHE_DIR environment
355
+ # variable.
356
+ # Note that the cache is only read when incremental mode is enabled
357
+ # but is always written to, unless the value is set to /dev/null
358
+ # (UNIX) or nul (Windows).
359
+ cache_dir = .mypy_cache
360
+
361
+ # Use an SQLite database to store the cache.
362
+ sqlite_cache = False
363
+
364
+ # Include fine-grained dependency information in the cache for the mypy daemon.
365
+ cache_fine_grained = False
366
+
367
+ # Makes mypy use incremental cache data even if it was generated by a
368
+ # different version of mypy. (By default, mypy will perform a version
369
+ # check and regenerate the cache if it was written by older versions of mypy.)
370
+ skip_version_check = False
371
+
372
+ # Skip cache internal consistency checks based on mtime.
373
+ skip_cache_mtime_checks = False
374
+
375
+
376
+ ### Advanced options
377
+ # A comma-separated list of mypy plugins. See Extending mypy using plugins.
378
+ #plugins =
379
+
380
+ # Invokes pdb on fatal error.
381
+ pdb = False
382
+
383
+ # Shows traceback on fatal error.
384
+ show_traceback = False
385
+
386
+ # Raise exception on fatal error.
387
+ raise_exceptions = False
388
+
389
+ # Specifies a custom module to use as a substitute for the typing module.
390
+ #custom_typing_module =
391
+
392
+ # This specifies the directory where mypy looks for standard library typeshed
393
+ # stubs, instead of the typeshed that ships with mypy. This is
394
+ # primarily intended to make it easier to test typeshed changes before
395
+ # submitting them upstream, but also allows you to use a forked version of
396
+ # typeshed.
397
+ # User home directory and environment variables will be expanded.
398
+ # Note that this doesn’t affect third-party library stubs. To test third-party stubs,
399
+ # for example try MYPYPATH=stubs/six mypy ....
400
+ #custom_typeshed_dir =
401
+
402
+ # Warns about missing type annotations in typeshed. This is only relevant
403
+ # in combination with disallow_untyped_defs or disallow_incomplete_defs.
404
+ warn_incomplete_stub = True
405
+
406
+
407
+ ### Report generation
408
+ # Causes mypy to generate a text file report documenting how many
409
+ # expressions of type Any are present within your codebase.
410
+ #any_exprs_report =
411
+
412
+ # Causes mypy to generate a Cobertura XML type checking coverage report.
413
+ # To generate this report, you must either manually install the lxml
414
+ # library or specify mypy installation with the setuptools extra
415
+ # mypy[reports].
416
+ #cobertura_xml_report =
417
+
418
+ # Causes mypy to generate an HTML type checking coverage report.
419
+ # To generate this report, you must either manually install the lxml
420
+ # library or specify mypy installation with the setuptools extra
421
+ # mypy[reports].
422
+ #html_report / xslt_html_report =
423
+
424
+ # Causes mypy to generate a text file report documenting the functions
425
+ # and lines that are typed and untyped within your codebase.
426
+ #linecount_report =
427
+
428
+ # Causes mypy to generate a JSON file that maps each source file’s
429
+ # absolute filename to a list of line numbers that belong to typed
430
+ # functions in that file.
431
+ #linecoverage_report =
432
+
433
+ # Causes mypy to generate a flat text file report with per-module
434
+ # statistics of how many lines are typechecked etc.
435
+ #lineprecision_report =
436
+
437
+ # Causes mypy to generate a text file type checking coverage report.
438
+ # To generate this report, you must either manually install the lxml
439
+ # library or specify mypy installation with the setuptools extra
440
+ # mypy[reports].
441
+ #txt_report / xslt_txt_report =
442
+
443
+ # Causes mypy to generate an XML type checking coverage report.
444
+ # To generate this report, you must either manually install the lxml
445
+ # library or specify mypy installation with the setuptools extra
446
+ # mypy[reports].
447
+ #xml_report =
448
+
449
+
450
+ ### Miscellaneous
451
+ # Causes mypy to generate a JUnit XML test result document with
452
+ # type checking results. This can make it easier to integrate mypy
453
+ # with continuous integration (CI) tools.
454
+ #junit_xml =
455
+
456
+ # Makes script x become module x instead of __main__. This is
457
+ # useful when checking multiple scripts in a single run.
458
+ scripts_are_modules = False
459
+
460
+ # Warns about per-module sections in the config file that do not
461
+ # match any files processed when invoking mypy.
462
+ # (This requires turning off incremental mode using incremental = False.)
463
+ warn_unused_configs = True
464
+
465
+ # Controls how much debug output will be generated. Higher numbers are more verbose.
466
+ verbosity = 0
467
+
468
+
469
+ # This section should only define values that are different than in global section
470
+ [mypy-tests.*]
471
+ disallow_untyped_defs = False
472
+ disallow_incomplete_defs = False
473
+
474
+
475
+ # Conftests should be checked in the same manner as production code, so they revert `tests.*` overwrites
476
+ [mypy-tests.*.conftest]
477
+ disallow_untyped_defs = True
478
+ disallow_incomplete_defs = True
@@ -0,0 +1,13 @@
1
+ [pytest]
2
+ testpaths =
3
+ tests
4
+
5
+ addopts =
6
+ --cov src
7
+ --cov-report html:coverage-report
8
+ --cov-report term:skip-covered
9
+ --cov-fail-under=99
10
+ --no-cov-on-fail
11
+ -Werror
12
+ -Wignore::ImportWarning
13
+ --strict-markers