crackerjack 0.24.0__py3-none-any.whl → 0.24.2__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 crackerjack might be problematic. Click here for more details.
- crackerjack/__main__.py +4 -4
- crackerjack/crackerjack.py +1 -1
- crackerjack/pyproject.toml +5 -1
- {crackerjack-0.24.0.dist-info → crackerjack-0.24.2.dist-info}/METADATA +8 -8
- {crackerjack-0.24.0.dist-info → crackerjack-0.24.2.dist-info}/RECORD +7 -7
- {crackerjack-0.24.0.dist-info → crackerjack-0.24.2.dist-info}/WHEEL +0 -0
- {crackerjack-0.24.0.dist-info → crackerjack-0.24.2.dist-info}/licenses/LICENSE +0 -0
crackerjack/__main__.py
CHANGED
|
@@ -12,7 +12,7 @@ app = typer.Typer(
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
class BumpOption(str, Enum):
|
|
15
|
-
|
|
15
|
+
patch = "patch"
|
|
16
16
|
minor = "minor"
|
|
17
17
|
major = "major"
|
|
18
18
|
|
|
@@ -73,14 +73,14 @@ cli_options = {
|
|
|
73
73
|
None,
|
|
74
74
|
"-p",
|
|
75
75
|
"--publish",
|
|
76
|
-
help="Bump version and publish to PyPI (
|
|
76
|
+
help="Bump version and publish to PyPI (patch, minor, major).",
|
|
77
77
|
case_sensitive=False,
|
|
78
78
|
),
|
|
79
79
|
"bump": typer.Option(
|
|
80
80
|
None,
|
|
81
81
|
"-b",
|
|
82
82
|
"--bump",
|
|
83
|
-
help="Bump version (
|
|
83
|
+
help="Bump version (patch, minor, major).",
|
|
84
84
|
case_sensitive=False,
|
|
85
85
|
),
|
|
86
86
|
"clean": typer.Option(
|
|
@@ -125,7 +125,7 @@ cli_options = {
|
|
|
125
125
|
None,
|
|
126
126
|
"-a",
|
|
127
127
|
"--all",
|
|
128
|
-
help="Run with `-x -t -p <
|
|
128
|
+
help="Run with `-x -t -p <patch|minor|major> -c` development options).",
|
|
129
129
|
case_sensitive=False,
|
|
130
130
|
),
|
|
131
131
|
"create_pr": typer.Option(
|
crackerjack/crackerjack.py
CHANGED
|
@@ -885,7 +885,7 @@ class ProjectManager(BaseModel, arbitrary_types_allowed=True):
|
|
|
885
885
|
self.execute_command(["uv", "tool", "install", "keyring"])
|
|
886
886
|
self.execute_command(["git", "init"])
|
|
887
887
|
self.execute_command(["git", "branch", "-m", "main"])
|
|
888
|
-
self.execute_command(["git", "add", "pyproject.toml", "
|
|
888
|
+
self.execute_command(["git", "add", "pyproject.toml", "uv.lock"])
|
|
889
889
|
self.execute_command(["git", "config", "advice.addIgnoredFile", "false"])
|
|
890
890
|
install_cmd = ["pre-commit", "install"]
|
|
891
891
|
if hasattr(self, "options") and getattr(self.options, "ai_agent", False):
|
crackerjack/pyproject.toml
CHANGED
|
@@ -4,7 +4,7 @@ requires = [ "hatchling" ]
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "crackerjack"
|
|
7
|
-
version = "0.
|
|
7
|
+
version = "0.24.1"
|
|
8
8
|
description = "Crackerjack: code quality toolkit"
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
keywords = [
|
|
@@ -193,6 +193,10 @@ reportUnknownParameterType = "warning"
|
|
|
193
193
|
reportPrivateUsage = false
|
|
194
194
|
pythonVersion = "3.13"
|
|
195
195
|
|
|
196
|
+
[tool.uv]
|
|
197
|
+
keyring-provider = "subprocess"
|
|
198
|
+
index-url = "https://pypi.org/simple/"
|
|
199
|
+
|
|
196
200
|
[tool.vulture]
|
|
197
201
|
min_confidence = 86
|
|
198
202
|
paths = [ "crackerjack" ]
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: crackerjack
|
|
3
|
-
Version: 0.24.
|
|
3
|
+
Version: 0.24.2
|
|
4
4
|
Summary: Crackerjack: code quality toolkit
|
|
5
5
|
Project-URL: documentation, https://github.com/lesleslie/crackerjack
|
|
6
6
|
Project-URL: homepage, https://github.com/lesleslie/crackerjack
|
|
@@ -133,7 +133,7 @@ Crackerjack is built on the following core principles:
|
|
|
133
133
|
|
|
134
134
|
### Testing & Deployment
|
|
135
135
|
- **Built-in Testing:** Automatically runs tests using `pytest`
|
|
136
|
-
- **Easy Version Bumping:** Provides commands to bump the project version (
|
|
136
|
+
- **Easy Version Bumping:** Provides commands to bump the project version (patch, minor, or major)
|
|
137
137
|
- **Simplified Publishing:** Automates publishing to PyPI via UV
|
|
138
138
|
|
|
139
139
|
### Git Integration
|
|
@@ -316,8 +316,8 @@ class MyOptions:
|
|
|
316
316
|
self.benchmark_regression_threshold = 5.0 # Threshold percentage for benchmark regression
|
|
317
317
|
|
|
318
318
|
# Version and publishing options
|
|
319
|
-
self.publish = None # Publish to PyPI (
|
|
320
|
-
self.bump = "
|
|
319
|
+
self.publish = None # Publish to PyPI (patch, minor, major)
|
|
320
|
+
self.bump = "patch" # Bump version (patch, minor, major)
|
|
321
321
|
self.all = None # Run with -x -t -p <version> -c
|
|
322
322
|
|
|
323
323
|
# Git options
|
|
@@ -346,8 +346,8 @@ runner.process(MyOptions())
|
|
|
346
346
|
- `-n`, `--no-config-updates`: Skip updating configuration files (e.g., `pyproject.toml`).
|
|
347
347
|
- `-u`, `--update-precommit`: Update pre-commit hooks to the latest versions.
|
|
348
348
|
- `-v`, `--verbose`: Enable verbose output.
|
|
349
|
-
- `-p`, `--publish <
|
|
350
|
-
- `-b`, `--bump <
|
|
349
|
+
- `-p`, `--publish <patch|minor|major>`: Bump the project version and publish to PyPI using UV.
|
|
350
|
+
- `-b`, `--bump <patch|minor|major>`: Bump the project version without publishing.
|
|
351
351
|
- `-r`, `--pr`: Create a pull request to the upstream repository.
|
|
352
352
|
- `-s`, `--skip-hooks`: Skip running pre-commit hooks (useful with `-t`).
|
|
353
353
|
- `-x`, `--clean`: Clean code by removing docstrings, line comments, and extra whitespace.
|
|
@@ -357,7 +357,7 @@ runner.process(MyOptions())
|
|
|
357
357
|
- `--benchmark`: Run tests in benchmark mode (disables parallel execution).
|
|
358
358
|
- `--benchmark-regression`: Fail tests if benchmarks regress beyond threshold.
|
|
359
359
|
- `--benchmark-regression-threshold`: Set threshold percentage for benchmark regression (default 5.0%).
|
|
360
|
-
- `-a`, `--all`: Run with `-x -t -p <
|
|
360
|
+
- `-a`, `--all`: Run with `-x -t -p <patch|minor|major> -c` development options.
|
|
361
361
|
- `-i`, `--interactive`: Enable the interactive Rich UI for a more user-friendly experience with visual progress tracking and interactive prompts.
|
|
362
362
|
- `--ai-agent`: Enable AI agent mode with structured output (see [AI Agent Integration](#ai-agent-integration)).
|
|
363
363
|
- `--help`: Display help.
|
|
@@ -415,7 +415,7 @@ runner.process(MyOptions())
|
|
|
415
415
|
|
|
416
416
|
- **Bump and Publish** - Bump version and publish to PyPI:
|
|
417
417
|
```bash
|
|
418
|
-
python -m crackerjack -p
|
|
418
|
+
python -m crackerjack -p patch # For patch version
|
|
419
419
|
python -m crackerjack -p minor # For minor version
|
|
420
420
|
python -m crackerjack -p major # For major version
|
|
421
421
|
```
|
|
@@ -4,13 +4,13 @@ crackerjack/.pdm.toml,sha256=dZe44HRcuxxCFESGG8SZIjmc-cGzSoyK3Hs6t4NYA8w,23
|
|
|
4
4
|
crackerjack/.pre-commit-config-ai.yaml,sha256=kPAU41yuX8XU00HDl6Y2mX-L3aLMYTNo8fnFWEZE4mM,3112
|
|
5
5
|
crackerjack/.pre-commit-config.yaml,sha256=KwzEBj84K5Vp09aYXlk2H7LFlMJl6jToOl8q4u3IxuU,2480
|
|
6
6
|
crackerjack/__init__.py,sha256=8tBSPAru_YDuPpjz05cL7pNbZjYFoRT_agGd_FWa3gY,839
|
|
7
|
-
crackerjack/__main__.py,sha256
|
|
8
|
-
crackerjack/crackerjack.py,sha256=
|
|
7
|
+
crackerjack/__main__.py,sha256=-h6Au8CGHS9QdzzbDMGzKHAlNEx7cYmzCrV4g4vV19k,6407
|
|
8
|
+
crackerjack/crackerjack.py,sha256=Awvebtc6IZ00FUcTb7fyCTlTDoX-XqNn21VrMQJSPYk,49398
|
|
9
9
|
crackerjack/errors.py,sha256=Wcv0rXfzV9pHOoXYrhQEjyJd4kUUBbdiY-5M9nI8pDw,4050
|
|
10
10
|
crackerjack/interactive.py,sha256=pFItgRUyjOakABLCRz6nIp6_Ycx2LBSeojpYNiTelv0,16126
|
|
11
11
|
crackerjack/py313.py,sha256=buYE7LO11Q64ffowEhTZRFQoAGj_8sg3DTlZuv8M9eo,5890
|
|
12
|
-
crackerjack/pyproject.toml,sha256=
|
|
13
|
-
crackerjack-0.24.
|
|
14
|
-
crackerjack-0.24.
|
|
15
|
-
crackerjack-0.24.
|
|
16
|
-
crackerjack-0.24.
|
|
12
|
+
crackerjack/pyproject.toml,sha256=7wGEiiFlS-nA7eWs8FC121VTXwnQPYle3bBqiVeJl0o,5046
|
|
13
|
+
crackerjack-0.24.2.dist-info/METADATA,sha256=mRz9BIkyZeReMJPV5ByhHBDOfHns0keWxHvHbajwHFg,26137
|
|
14
|
+
crackerjack-0.24.2.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
15
|
+
crackerjack-0.24.2.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
|
|
16
|
+
crackerjack-0.24.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|