sourcecode 3.5.0__py3-none-any.whl → 3.7.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 sourcecode might be problematic. Click here for more details.
- sourcecode/__init__.py +1 -1
- sourcecode/change_plan.py +5 -1
- sourcecode/cli.py +461 -112
- sourcecode/compare.py +75 -8
- sourcecode/explain.py +11 -0
- sourcecode/hibernate_strat.py +60 -7
- sourcecode/migrate_check.py +244 -19
- sourcecode/output_budget.py +35 -2
- sourcecode/pipe_contract.py +208 -0
- sourcecode/repository_ir.py +114 -15
- sourcecode/serializer.py +174 -69
- sourcecode/spring_findings.py +124 -0
- sourcecode/spring_impact.py +18 -1
- sourcecode/spring_security_audit.py +6 -0
- sourcecode/spring_tx_analyzer.py +6 -0
- sourcecode/target_admission.py +168 -0
- sourcecode/verify_edit.py +32 -9
- sourcecode/verify_repo.py +22 -4
- {sourcecode-3.5.0.dist-info → sourcecode-3.7.0.dist-info}/METADATA +1 -1
- {sourcecode-3.5.0.dist-info → sourcecode-3.7.0.dist-info}/RECORD +23 -21
- {sourcecode-3.5.0.dist-info → sourcecode-3.7.0.dist-info}/WHEEL +0 -0
- {sourcecode-3.5.0.dist-info → sourcecode-3.7.0.dist-info}/entry_points.txt +0 -0
- {sourcecode-3.5.0.dist-info → sourcecode-3.7.0.dist-info}/licenses/LICENSE +0 -0
sourcecode/__init__.py
CHANGED
sourcecode/change_plan.py
CHANGED
|
@@ -88,7 +88,11 @@ def build_change_plan(
|
|
|
88
88
|
resolution = blast.get("resolution", "not_found")
|
|
89
89
|
|
|
90
90
|
# Unresolvable target → return a plan-shaped resolution notice (never crash).
|
|
91
|
-
|
|
91
|
+
# The set of resolutions that means "never found it" is one fact, and the CLI
|
|
92
|
+
# reads the same one to decide the exit code (C3-29).
|
|
93
|
+
from sourcecode.target_admission import is_unresolved
|
|
94
|
+
|
|
95
|
+
if is_unresolved(resolution) or not blast.get("matched_fqns"):
|
|
92
96
|
return {
|
|
93
97
|
"schema": CHANGE_PLAN_SCHEMA,
|
|
94
98
|
"target": target,
|