crackerjack 0.21.0__py3-none-any.whl → 0.21.1__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.
- crackerjack/.ruff_cache/0.12.1/5056746222905752453 +0 -0
- crackerjack/crackerjack.py +11 -14
- crackerjack/pyproject.toml +1 -1
- {crackerjack-0.21.0.dist-info → crackerjack-0.21.1.dist-info}/METADATA +1 -1
- {crackerjack-0.21.0.dist-info → crackerjack-0.21.1.dist-info}/RECORD +8 -8
- {crackerjack-0.21.0.dist-info → crackerjack-0.21.1.dist-info}/WHEEL +0 -0
- {crackerjack-0.21.0.dist-info → crackerjack-0.21.1.dist-info}/entry_points.txt +0 -0
- {crackerjack-0.21.0.dist-info → crackerjack-0.21.1.dist-info}/licenses/LICENSE +0 -0
Binary file
|
crackerjack/crackerjack.py
CHANGED
@@ -535,20 +535,6 @@ class ProjectManager(BaseModel, arbitrary_types_allowed=True):
|
|
535
535
|
config_manager: ConfigManager
|
536
536
|
dry_run: bool = False
|
537
537
|
|
538
|
-
def run_interactive(self, hook: str) -> None:
|
539
|
-
success: bool = False
|
540
|
-
while not success:
|
541
|
-
fail = self.execute_command(
|
542
|
-
["pre-commit", "run", hook.lower(), "--all-files"]
|
543
|
-
)
|
544
|
-
if fail.returncode > 0:
|
545
|
-
retry = input(f"\n\n{hook.title()} failed. Retry? (y/N): ")
|
546
|
-
self.console.print()
|
547
|
-
if retry.strip().lower() == "y":
|
548
|
-
continue
|
549
|
-
raise SystemExit(1)
|
550
|
-
success = True
|
551
|
-
|
552
538
|
def update_pkg_configs(self) -> None:
|
553
539
|
self.config_manager.copy_configs()
|
554
540
|
installed_pkgs = self.execute_command(
|
@@ -736,6 +722,17 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
736
722
|
def _bump_version(self, options: OptionsProtocol) -> None:
|
737
723
|
for option in (options.publish, options.bump):
|
738
724
|
if option:
|
725
|
+
if str(option) in ("minor", "major"):
|
726
|
+
from rich.prompt import Confirm
|
727
|
+
|
728
|
+
if not Confirm.ask(
|
729
|
+
f"Are you sure you want to bump the {option} version?",
|
730
|
+
default=False,
|
731
|
+
):
|
732
|
+
self.console.print(
|
733
|
+
f"[yellow]Skipping {option} version bump[/yellow]"
|
734
|
+
)
|
735
|
+
return
|
739
736
|
self.execute_command(["pdm", "bump", option])
|
740
737
|
break
|
741
738
|
|
crackerjack/pyproject.toml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
crackerjack-0.21.
|
2
|
-
crackerjack-0.21.
|
3
|
-
crackerjack-0.21.
|
4
|
-
crackerjack-0.21.
|
1
|
+
crackerjack-0.21.1.dist-info/METADATA,sha256=7SFSWVvQ6jGZL89u1LWVfJpguOGvIZsIGpBufMk-2z4,26414
|
2
|
+
crackerjack-0.21.1.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
|
3
|
+
crackerjack-0.21.1.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
4
|
+
crackerjack-0.21.1.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
|
5
5
|
crackerjack/.gitignore,sha256=FOLrDV-tuHpwof310aOi6cWOkJXeVI_gvWvg_paDzs4,199
|
6
6
|
crackerjack/.libcst.codemod.yaml,sha256=a8DlErRAIPV1nE6QlyXPAzTOgkB24_spl2E9hphuf5s,772
|
7
7
|
crackerjack/.pdm.toml,sha256=dZe44HRcuxxCFESGG8SZIjmc-cGzSoyK3Hs6t4NYA8w,23
|
@@ -33,7 +33,7 @@ crackerjack/.ruff_cache/0.11.7/10386934055395314831,sha256=lBNwN5zAgM4OzbkXIOzCc
|
|
33
33
|
crackerjack/.ruff_cache/0.11.7/3557596832929915217,sha256=fKlwUbsvT3YIKV6UR-aA_i64lLignWeVfVu-MMmVbU0,207
|
34
34
|
crackerjack/.ruff_cache/0.11.8/530407680854991027,sha256=xAMAL3Vu_HR6M-h5ojCTaak0By5ii8u-14pXULLgLqw,224
|
35
35
|
crackerjack/.ruff_cache/0.12.0/5056746222905752453,sha256=MqrIT5qymJcgAOBZyn-TvYoGCFfDFCgN9IwSULq8n14,256
|
36
|
-
crackerjack/.ruff_cache/0.12.1/5056746222905752453,sha256=
|
36
|
+
crackerjack/.ruff_cache/0.12.1/5056746222905752453,sha256=O2xF_GSyDPzAG87qVvenFQSuFh01Q5IE64uwUgyr3Bk,256
|
37
37
|
crackerjack/.ruff_cache/0.2.0/10047773857155985907,sha256=j9LNa_RQ4Plor7go1uTYgz17cEENKvZQ-dP6b9MX0ik,248
|
38
38
|
crackerjack/.ruff_cache/0.2.1/8522267973936635051,sha256=u_aPBMibtAp_iYvLwR88GMAECMcIgHezxMyuapmU2P4,248
|
39
39
|
crackerjack/.ruff_cache/0.2.2/18053836298936336950,sha256=Xb_ebP0pVuUfSqPEZKlhQ70so_vqkEfMYpuHQ06iR5U,248
|
@@ -63,9 +63,9 @@ crackerjack/.ruff_cache/0.9.9/8843823720003377982,sha256=e4ymkXfQsUg5e_mtO34xTsa
|
|
63
63
|
crackerjack/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
|
64
64
|
crackerjack/__init__.py,sha256=8tBSPAru_YDuPpjz05cL7pNbZjYFoRT_agGd_FWa3gY,839
|
65
65
|
crackerjack/__main__.py,sha256=AknITUlFjq3YUK9s2xeL62dM0GN82JBQyDkPzQ_hCUg,6561
|
66
|
-
crackerjack/crackerjack.py,sha256=
|
66
|
+
crackerjack/crackerjack.py,sha256=Ob6oEdQFqk4jrK51JAM0MOFCarpWbSCPlbjDFiAi7KA,30849
|
67
67
|
crackerjack/errors.py,sha256=QEPtVuMtKtQHuawgr1ToMaN1KbUg5h9-4mS33YB5Znk,4062
|
68
68
|
crackerjack/interactive.py,sha256=5KXKSvWKttLvHcI1L4VEDc3Rb-ZpHBOl_Qr7lhD-O4Q,16262
|
69
69
|
crackerjack/py313.py,sha256=buYE7LO11Q64ffowEhTZRFQoAGj_8sg3DTlZuv8M9eo,5890
|
70
|
-
crackerjack/pyproject.toml,sha256=
|
71
|
-
crackerjack-0.21.
|
70
|
+
crackerjack/pyproject.toml,sha256=ATiuBcMofihkJhZKZUaNnN11k0EUQu2Srl77w61GWzs,4988
|
71
|
+
crackerjack-0.21.1.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|