crackerjack 0.24.5__tar.gz → 0.24.7__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.
Potentially problematic release.
This version of crackerjack might be problematic. Click here for more details.
- {crackerjack-0.24.5 → crackerjack-0.24.7}/PKG-INFO +1 -1
- {crackerjack-0.24.5 → crackerjack-0.24.7}/crackerjack/crackerjack.py +1 -1
- {crackerjack-0.24.5 → crackerjack-0.24.7}/crackerjack/pyproject.toml +3 -1
- {crackerjack-0.24.5 → crackerjack-0.24.7}/pyproject.toml +3 -1
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/test_crackerjack.py +6 -6
- {crackerjack-0.24.5 → crackerjack-0.24.7}/uv.lock +1 -1
- {crackerjack-0.24.5 → crackerjack-0.24.7}/.envrc +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/.github/FUNDING.yml +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/.gitignore +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/.libcst.codemod.yaml +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/.pre-commit-config-ai.yaml +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/.pre-commit-config.yaml +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/.windsurfrules +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/CLAUDE.md +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/LICENSE +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/README-AI-AGENT.md +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/README.md +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/RULES.md +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/crackerjack/.gitignore +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/crackerjack/.libcst.codemod.yaml +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/crackerjack/.pdm.toml +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/crackerjack/.pre-commit-config-ai.yaml +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/crackerjack/.pre-commit-config.yaml +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/crackerjack/__init__.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/crackerjack/__main__.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/crackerjack/errors.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/crackerjack/interactive.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/crackerjack/py313.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/TESTING.md +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/__init__.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/conftest.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/data/comments_sample.txt +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/data/docstrings_sample.txt +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/data/expected_comments_sample.txt +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/data/init.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/test_crackerjack_runner.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/test_errors.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/test_interactive.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/test_interactive_run.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/test_main.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/test_multiline_functions.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/test_py313_advanced.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/test_py313_features.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/test_pytest_features.py +0 -0
- {crackerjack-0.24.5 → crackerjack-0.24.7}/tests/test_structured_errors.py +0 -0
|
@@ -1199,7 +1199,7 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
|
1199
1199
|
"[bold bright_red]❌ Build failed. Please fix errors.[/bold bright_red]"
|
|
1200
1200
|
)
|
|
1201
1201
|
raise SystemExit(1)
|
|
1202
|
-
self.execute_command(["uv", "publish"
|
|
1202
|
+
self.execute_command(["uv", "publish"])
|
|
1203
1203
|
|
|
1204
1204
|
def _commit_and_push(self, options: OptionsProtocol) -> None:
|
|
1205
1205
|
if options.commit:
|
|
@@ -4,7 +4,7 @@ requires = [ "hatchling" ]
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "crackerjack"
|
|
7
|
-
version = "0.24.
|
|
7
|
+
version = "0.24.6"
|
|
8
8
|
description = "Crackerjack: code quality toolkit"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
keywords = [
|
|
@@ -200,6 +200,8 @@ pythonVersion = "3.13"
|
|
|
200
200
|
|
|
201
201
|
[tool.uv]
|
|
202
202
|
keyring-provider = "subprocess"
|
|
203
|
+
publish-url = "https://upload.pypi.org/legacy/"
|
|
204
|
+
check-url = "https://pypi.org/simple/"
|
|
203
205
|
|
|
204
206
|
[tool.vulture]
|
|
205
207
|
min_confidence = 86
|
|
@@ -4,7 +4,7 @@ requires = [ "hatchling" ]
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "crackerjack"
|
|
7
|
-
version = "0.24.
|
|
7
|
+
version = "0.24.7"
|
|
8
8
|
description = "Crackerjack: code quality toolkit"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
keywords = [
|
|
@@ -200,6 +200,8 @@ pythonVersion = "3.13"
|
|
|
200
200
|
|
|
201
201
|
[tool.uv]
|
|
202
202
|
keyring-provider = "subprocess"
|
|
203
|
+
publish-url = "https://upload.pypi.org/legacy/"
|
|
204
|
+
check-url = "https://pypi.org/simple/"
|
|
203
205
|
|
|
204
206
|
[tool.vulture]
|
|
205
207
|
min_confidence = 86
|
|
@@ -737,7 +737,7 @@ class TestCrackerjackProcess:
|
|
|
737
737
|
with patch.object(crackerjack.console, "print"):
|
|
738
738
|
crackerjack._publish_project(options)
|
|
739
739
|
assert ["uv", "build"] in actual_calls
|
|
740
|
-
assert ["uv", "publish"
|
|
740
|
+
assert ["uv", "publish"] in actual_calls
|
|
741
741
|
|
|
742
742
|
def test_publish_with_authentication(self) -> None:
|
|
743
743
|
options = OptionsForTesting(publish=BumpOption.patch)
|
|
@@ -751,7 +751,7 @@ class TestCrackerjackProcess:
|
|
|
751
751
|
return subprocess.CompletedProcess(
|
|
752
752
|
args=cmd, returncode=0, stdout="build output", stderr=""
|
|
753
753
|
)
|
|
754
|
-
elif cmd == ["uv", "publish"
|
|
754
|
+
elif cmd == ["uv", "publish"]:
|
|
755
755
|
return subprocess.CompletedProcess(
|
|
756
756
|
args=cmd, returncode=0, stdout="publish output", stderr=""
|
|
757
757
|
)
|
|
@@ -771,7 +771,7 @@ class TestCrackerjackProcess:
|
|
|
771
771
|
with patch.object(crackerjack.console, "print"):
|
|
772
772
|
crackerjack._publish_project(options)
|
|
773
773
|
assert ["uv", "build"] in actual_calls
|
|
774
|
-
assert ["uv", "publish"
|
|
774
|
+
assert ["uv", "publish"] in actual_calls
|
|
775
775
|
|
|
776
776
|
def test_build_failure(self) -> None:
|
|
777
777
|
options = OptionsForTesting(publish=BumpOption.patch)
|
|
@@ -803,7 +803,7 @@ class TestCrackerjackProcess:
|
|
|
803
803
|
crackerjack._publish_project(options)
|
|
804
804
|
assert exc_info.value.code == 1
|
|
805
805
|
assert ["uv", "build"] in actual_calls
|
|
806
|
-
assert ["uv", "publish"
|
|
806
|
+
assert ["uv", "publish"] not in actual_calls
|
|
807
807
|
|
|
808
808
|
def test_publish_failure(self) -> None:
|
|
809
809
|
options = OptionsForTesting(publish=BumpOption.patch)
|
|
@@ -815,7 +815,7 @@ class TestCrackerjackProcess:
|
|
|
815
815
|
actual_calls.append(cmd)
|
|
816
816
|
if cmd == ["uv", "build"]:
|
|
817
817
|
return MagicMock(returncode=0, stdout="build output")
|
|
818
|
-
elif cmd == ["uv", "publish"
|
|
818
|
+
elif cmd == ["uv", "publish"]:
|
|
819
819
|
return MagicMock(
|
|
820
820
|
returncode=1, stdout="publish output", stderr="Publish failed"
|
|
821
821
|
)
|
|
@@ -833,7 +833,7 @@ class TestCrackerjackProcess:
|
|
|
833
833
|
with patch.object(crackerjack.console, "print") as mock_print:
|
|
834
834
|
crackerjack._publish_project(options)
|
|
835
835
|
assert ["uv", "build"] in actual_calls
|
|
836
|
-
assert ["uv", "publish"
|
|
836
|
+
assert ["uv", "publish"] in actual_calls
|
|
837
837
|
assert any(
|
|
838
838
|
"build output" in str(call)
|
|
839
839
|
for call in mock_print.mock_calls
|
|
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
|
|
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
|
|
File without changes
|