plexus-python-common 1.1.86__tar.gz → 1.1.88__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 (70) hide show
  1. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/.editorconfig +38 -8
  2. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/PKG-INFO +1 -1
  3. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/testutils.py +4 -1
  4. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus_python_common.egg-info/PKG-INFO +1 -1
  5. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/.github/workflows/pr.yml +0 -0
  6. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/.github/workflows/push.yml +0 -0
  7. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/.gitignore +0 -0
  8. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/MANIFEST.in +0 -0
  9. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/README.md +0 -0
  10. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/VERSION +0 -0
  11. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/pyproject.toml +0 -0
  12. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/config/config.cfg +0 -0
  13. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/csvutils/data.csv +0 -0
  14. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/csvutils/data.tsv +0 -0
  15. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.baz/file.bar.baz +0 -0
  16. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.baz/file.foo.bar +0 -0
  17. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.baz/file.foo.baz +0 -0
  18. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/dir.foo.bar/dir.foo.bar.baz/file.foo.bar.baz +0 -0
  19. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/dir.foo.bar/file.bar.baz +0 -0
  20. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/dir.foo.bar/file.foo.bar +0 -0
  21. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/dir.foo.bar/file.foo.baz +0 -0
  22. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/file.bar +0 -0
  23. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/file.baz +0 -0
  24. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/resources/unittest/pathutils/dir.foo/file.foo +0 -0
  25. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/setup.cfg +0 -0
  26. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/setup.py +0 -0
  27. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/__init__.py +0 -0
  28. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/__init__.py +0 -0
  29. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/argutils.py +0 -0
  30. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/config.py +0 -0
  31. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/csvutils.py +0 -0
  32. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/dbutils.py +0 -0
  33. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/dtutils.py +0 -0
  34. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/funcutils.py +0 -0
  35. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/iterutils.py +0 -0
  36. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/jsonutils.py +0 -0
  37. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/logger.py +0 -0
  38. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/numutils.py +0 -0
  39. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/pathutils.py +0 -0
  40. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/randutils.py +0 -0
  41. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/retry.py +0 -0
  42. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/span.py +0 -0
  43. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/strutils.py +0 -0
  44. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus/common/utils/typeutils.py +0 -0
  45. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus_python_common.egg-info/SOURCES.txt +0 -0
  46. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus_python_common.egg-info/dependency_links.txt +0 -0
  47. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus_python_common.egg-info/not-zip-safe +0 -0
  48. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus_python_common.egg-info/requires.txt +0 -0
  49. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/src/plexus_python_common.egg-info/top_level.txt +0 -0
  50. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/__init__.py +0 -0
  51. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/__init__.py +0 -0
  52. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/__init__.py +0 -0
  53. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/argutils_test.py +0 -0
  54. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/config_test.py +0 -0
  55. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/csvutils_test.py +0 -0
  56. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/dbutils_test.py +0 -0
  57. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/dtutils_test.py +0 -0
  58. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/funcutils_test.py +0 -0
  59. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/iterutils_test.py +0 -0
  60. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/jsonutils_test.py +0 -0
  61. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/logger_test.py +0 -0
  62. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/numutils_test.py +0 -0
  63. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/pathutils_test.py +0 -0
  64. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/randutils_test.py +0 -0
  65. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/retry_test.py +0 -0
  66. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/span_test.py +0 -0
  67. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/strutils_test.py +0 -0
  68. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/testutils_test.py +0 -0
  69. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/plexus_tests/common/utils/typeutils_test.py +0 -0
  70. {plexus_python_common-1.1.86 → plexus_python_common-1.1.88}/test/testenv.py +0 -0
@@ -12,15 +12,35 @@ ij_formatter_tags_enabled = true
12
12
  ij_formatter_off_tag = @formatter:off
13
13
  ij_formatter_on_tag = @formatter:on
14
14
 
15
- [{*.bash,*.sh,*.zsh}]
15
+ [*.json]
16
16
  indent_size = 2
17
- tab_width = 2
18
- ij_shell_binary_ops_start_line = false
19
- ij_shell_keep_column_alignment_padding = false
20
- ij_shell_minify_program = false
21
- ij_shell_redirect_followed_by_space = false
22
- ij_shell_switch_cases_indented = false
23
- ij_shell_use_unix_line_separator = true
17
+ ij_json_array_wrapping = split_into_lines
18
+ ij_json_keep_blank_lines_in_code = 0
19
+ ij_json_keep_indents_on_empty_lines = false
20
+ ij_json_keep_line_breaks = true
21
+ ij_json_keep_trailing_comma = false
22
+ ij_json_object_wrapping = split_into_lines
23
+ ij_json_property_alignment = do_not_align
24
+ ij_json_space_after_colon = true
25
+ ij_json_space_after_comma = true
26
+ ij_json_space_before_colon = false
27
+ ij_json_space_before_comma = false
28
+ ij_json_spaces_within_braces = false
29
+ ij_json_spaces_within_brackets = false
30
+ ij_json_wrap_long_lines = false
31
+
32
+ [{*.yaml,*.yml}]
33
+ indent_size = 2
34
+ ij_yaml_align_values_properties = do_not_align
35
+ ij_yaml_autoinsert_sequence_marker = true
36
+ ij_yaml_block_mapping_on_new_line = false
37
+ ij_yaml_indent_sequence_value = true
38
+ ij_yaml_keep_indents_on_empty_lines = false
39
+ ij_yaml_keep_line_breaks = true
40
+ ij_yaml_sequence_on_new_line = false
41
+ ij_yaml_space_before_colon = false
42
+ ij_yaml_spaces_within_braces = true
43
+ ij_yaml_spaces_within_brackets = true
24
44
 
25
45
  [{*.markdown,*.md}]
26
46
  ij_markdown_force_one_space_after_blockquote_symbol = true
@@ -40,6 +60,16 @@ ij_markdown_min_lines_between_paragraphs = 1
40
60
  ij_markdown_wrap_text_if_long = true
41
61
  ij_markdown_wrap_text_inside_blockquotes = true
42
62
 
63
+ [{*.bash,*.sh,*.zsh}]
64
+ indent_size = 2
65
+ tab_width = 2
66
+ ij_shell_binary_ops_start_line = false
67
+ ij_shell_keep_column_alignment_padding = false
68
+ ij_shell_minify_program = false
69
+ ij_shell_redirect_followed_by_space = false
70
+ ij_shell_switch_cases_indented = false
71
+ ij_shell_use_unix_line_separator = true
72
+
43
73
  [*.py]
44
74
  insert_final_newline = true
45
75
  trim_trailing_whitespace = true
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plexus-python-common
3
- Version: 1.1.86
3
+ Version: 1.1.88
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.12
6
6
  Classifier: Programming Language :: Python :: 3.13
@@ -1,4 +1,5 @@
1
1
  import abc
2
+ import datetime
2
3
  from decimal import Decimal
3
4
  from typing import Any, Protocol
4
5
 
@@ -69,7 +70,9 @@ def nested_approx(expected, rel: float = None, abs: float = None, nan_ok: bool =
69
70
  return ApproxNestedSequenceLike(expected, rel, abs, nan_ok)
70
71
  if isinstance(expected, Decimal):
71
72
  return ApproxDecimal(expected, to_decimal(rel), to_decimal(abs), nan_ok)
72
- return pytest.approx(expected, rel, abs, nan_ok)
73
+ if isinstance(expected, (datetime.datetime, datetime.date, datetime.time, datetime.timedelta)):
74
+ return pytest.approx(expected, abs=datetime.timedelta(0))
75
+ return pytest.approx(expected, rel=rel, abs=abs, nan_ok=nan_ok)
73
76
 
74
77
 
75
78
  class MockedCallable(Protocol):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plexus-python-common
3
- Version: 1.1.86
3
+ Version: 1.1.88
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: Programming Language :: Python :: 3.12
6
6
  Classifier: Programming Language :: Python :: 3.13