redup 0.2.1__tar.gz → 0.2.2__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 (36) hide show
  1. {redup-0.2.1 → redup-0.2.2}/PKG-INFO +2 -2
  2. {redup-0.2.1 → redup-0.2.2}/README.md +1 -1
  3. {redup-0.2.1 → redup-0.2.2}/pyproject.toml +1 -1
  4. {redup-0.2.1 → redup-0.2.2}/src/redup/__init__.py +1 -1
  5. {redup-0.2.1 → redup-0.2.2}/src/redup/cli_app/main.py +2 -1
  6. {redup-0.2.1 → redup-0.2.2}/src/redup.egg-info/PKG-INFO +2 -2
  7. {redup-0.2.1 → redup-0.2.2}/LICENSE +0 -0
  8. {redup-0.2.1 → redup-0.2.2}/setup.cfg +0 -0
  9. {redup-0.2.1 → redup-0.2.2}/src/redup/__main__.py +0 -0
  10. {redup-0.2.1 → redup-0.2.2}/src/redup/cli_app/__init__.py +0 -0
  11. {redup-0.2.1 → redup-0.2.2}/src/redup/core/__init__.py +0 -0
  12. {redup-0.2.1 → redup-0.2.2}/src/redup/core/differ.py +0 -0
  13. {redup-0.2.1 → redup-0.2.2}/src/redup/core/hasher.py +0 -0
  14. {redup-0.2.1 → redup-0.2.2}/src/redup/core/matcher.py +0 -0
  15. {redup-0.2.1 → redup-0.2.2}/src/redup/core/models.py +0 -0
  16. {redup-0.2.1 → redup-0.2.2}/src/redup/core/pipeline.py +0 -0
  17. {redup-0.2.1 → redup-0.2.2}/src/redup/core/planner.py +0 -0
  18. {redup-0.2.1 → redup-0.2.2}/src/redup/core/scanner.py +0 -0
  19. {redup-0.2.1 → redup-0.2.2}/src/redup/core/ts_extractor.py +0 -0
  20. {redup-0.2.1 → redup-0.2.2}/src/redup/reporters/__init__.py +0 -0
  21. {redup-0.2.1 → redup-0.2.2}/src/redup/reporters/json_reporter.py +0 -0
  22. {redup-0.2.1 → redup-0.2.2}/src/redup/reporters/toon_reporter.py +0 -0
  23. {redup-0.2.1 → redup-0.2.2}/src/redup/reporters/yaml_reporter.py +0 -0
  24. {redup-0.2.1 → redup-0.2.2}/src/redup.egg-info/SOURCES.txt +0 -0
  25. {redup-0.2.1 → redup-0.2.2}/src/redup.egg-info/dependency_links.txt +0 -0
  26. {redup-0.2.1 → redup-0.2.2}/src/redup.egg-info/entry_points.txt +0 -0
  27. {redup-0.2.1 → redup-0.2.2}/src/redup.egg-info/requires.txt +0 -0
  28. {redup-0.2.1 → redup-0.2.2}/src/redup.egg-info/top_level.txt +0 -0
  29. {redup-0.2.1 → redup-0.2.2}/tests/test_e2e.py +0 -0
  30. {redup-0.2.1 → redup-0.2.2}/tests/test_hasher.py +0 -0
  31. {redup-0.2.1 → redup-0.2.2}/tests/test_matcher.py +0 -0
  32. {redup-0.2.1 → redup-0.2.2}/tests/test_models.py +0 -0
  33. {redup-0.2.1 → redup-0.2.2}/tests/test_pipeline.py +0 -0
  34. {redup-0.2.1 → redup-0.2.2}/tests/test_planner.py +0 -0
  35. {redup-0.2.1 → redup-0.2.2}/tests/test_reporters.py +0 -0
  36. {redup-0.2.1 → redup-0.2.2}/tests/test_scanner.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: redup
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Code duplication analyzer and refactoring planner for LLMs
5
5
  Author-email: Tom Sapletta <tom@sapletta.com>
6
6
  License-Expression: Apache-2.0
@@ -57,7 +57,7 @@ Dynamic: license-file
57
57
  [![PyPI](https://img.shields.io/pypi/v/redup)](https://pypi.org/project/redup/)
58
58
  [![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
59
59
  [![Python](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://python.org)
60
- [![Version](https://img.shields.io/badge/version-0.2.0-green.svg)](https://pypi.org/project/redup/)
60
+ [![Version](https://img.shields.io/badge/version-0.2.2-green.svg)](https://pypi.org/project/redup/)
61
61
 
62
62
  reDUP scans codebases for duplicated functions, blocks, and structural patterns — then builds a prioritized refactoring map that LLMs can consume to eliminate redundancy systematically.
63
63
 
@@ -5,7 +5,7 @@
5
5
  [![PyPI](https://img.shields.io/pypi/v/redup)](https://pypi.org/project/redup/)
6
6
  [![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
7
7
  [![Python](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://python.org)
8
- [![Version](https://img.shields.io/badge/version-0.2.0-green.svg)](https://pypi.org/project/redup/)
8
+ [![Version](https://img.shields.io/badge/version-0.2.2-green.svg)](https://pypi.org/project/redup/)
9
9
 
10
10
  reDUP scans codebases for duplicated functions, blocks, and structural patterns — then builds a prioritized refactoring map that LLMs can consume to eliminate redundancy systematically.
11
11
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "redup"
7
- version = "0.2.1"
7
+ version = "0.2.2"
8
8
  description = "Code duplication analyzer and refactoring planner for LLMs"
9
9
  readme = "README.md"
10
10
  license = "Apache-2.0"
@@ -2,7 +2,7 @@
2
2
 
3
3
  from __future__ import annotations
4
4
 
5
- __version__ = "0.1.10"
5
+ __version__ = "0.2.2"
6
6
 
7
7
  from redup.core.models import (
8
8
  DuplicateFragment,
@@ -282,7 +282,8 @@ def check(
282
282
  typer.echo(f"✅ reDUP check PASSED")
283
283
  typer.echo(f" Duplicate groups: {dup_map.total_groups}/{max_groups}")
284
284
  typer.echo(f" Recoverable lines: {dup_map.total_saved_lines}/{max_saved_lines}")
285
- raise typer.Exit(0)
285
+ # Don't exit - just return normally (exit code 0)
286
+ return
286
287
 
287
288
 
288
289
  @app.command()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: redup
3
- Version: 0.2.1
3
+ Version: 0.2.2
4
4
  Summary: Code duplication analyzer and refactoring planner for LLMs
5
5
  Author-email: Tom Sapletta <tom@sapletta.com>
6
6
  License-Expression: Apache-2.0
@@ -57,7 +57,7 @@ Dynamic: license-file
57
57
  [![PyPI](https://img.shields.io/pypi/v/redup)](https://pypi.org/project/redup/)
58
58
  [![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
59
59
  [![Python](https://img.shields.io/badge/python-3.10%2B-blue.svg)](https://python.org)
60
- [![Version](https://img.shields.io/badge/version-0.2.0-green.svg)](https://pypi.org/project/redup/)
60
+ [![Version](https://img.shields.io/badge/version-0.2.2-green.svg)](https://pypi.org/project/redup/)
61
61
 
62
62
  reDUP scans codebases for duplicated functions, blocks, and structural patterns — then builds a prioritized refactoring map that LLMs can consume to eliminate redundancy systematically.
63
63
 
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes