nested-diff
Advanced tools
@@ -1,2 +0,2 @@ | ||
| # Copyright 2018-2024 Michael Samoglyadov | ||
| # Copyright 2018-2025 Michael Samoglyadov | ||
| # | ||
@@ -23,3 +23,3 @@ # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| __version__ = '1.7.0' | ||
| __version__ = '1.7.1' | ||
| __author__ = 'Michael Samoglyadov' | ||
@@ -158,9 +158,11 @@ __license__ = 'Apache License, Version 2.0' | ||
| differ = self.default_differ | ||
| if a.__class__ is b.__class__: | ||
| try: | ||
| return self._differs[a.__class__](self, a, b) | ||
| differ = self._differs[a.__class__] | ||
| except KeyError: | ||
| pass | ||
| return self.default_differ(self, a, b) | ||
| return differ(self, a, b) | ||
@@ -167,0 +169,0 @@ def set_handler(self, handler): |
+4
-3
@@ -1,4 +0,4 @@ | ||
| Metadata-Version: 2.3 | ||
| Metadata-Version: 2.4 | ||
| Name: nested_diff | ||
| Version: 1.7.0 | ||
| Version: 1.7.1 | ||
| Summary: Recursive diff and patch for nested structures. | ||
@@ -32,2 +32,3 @@ Keywords: diff,nested-diff,recursive-diff,nested-data,data-structures | ||
| Classifier: Topic :: Utilities | ||
| License-File: LICENSE | ||
| Requires-Dist: pyyaml >= 5.3 ; extra == "cli" | ||
@@ -40,3 +41,3 @@ Requires-Dist: tomli >= 1.1.0 ; extra == "cli" and ( python_version < "3.11") | ||
| Requires-Dist: pytest-ruff ; extra == "test" | ||
| Requires-Dist: ruff==0.8.0 ; extra == "test" | ||
| Requires-Dist: ruff==0.8.2 ; extra == "test" | ||
| Project-URL: Homepage, https://github.com/mr-mixas/Nested-Diff.py | ||
@@ -43,0 +44,0 @@ Project-URL: Repository, https://github.com/mr-mixas/Nested-Diff.py.git |
+10
-10
@@ -59,3 +59,3 @@ [build-system] | ||
| 'pytest-ruff', | ||
| 'ruff==0.8.0', | ||
| 'ruff==0.8.2', | ||
| ] | ||
@@ -72,11 +72,11 @@ | ||
| [tool.pytest.ini_options] | ||
| addopts = """ | ||
| --cov=nested_diff \ | ||
| --cov-fail-under=99 \ | ||
| --cov-report term-missing \ | ||
| --no-cov-on-fail \ | ||
| --ruff \ | ||
| --ruff-format \ | ||
| --verbosity=2 \ | ||
| """ | ||
| addopts = [ | ||
| '--cov=nested_diff', | ||
| '--cov-fail-under=99', | ||
| '--cov-report=term-missing', | ||
| '--no-cov-on-fail', | ||
| '--ruff', | ||
| '--ruff-format', | ||
| '--verbosity=2', | ||
| ] | ||
| doctest_optionflags = 'NORMALIZE_WHITESPACE' | ||
@@ -83,0 +83,0 @@ testpaths = 'nested_diff tests' |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
2016
0.05%99324
-0.01%