crackerjack 0.11.3__tar.gz → 0.11.5__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.
- {crackerjack-0.11.3 → crackerjack-0.11.5}/PKG-INFO +6 -6
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.pre-commit-config.yaml +3 -3
- crackerjack-0.11.5/crackerjack/.ruff_cache/0.9.10/12813592349865671909 +0 -0
- crackerjack-0.11.5/crackerjack/.ruff_cache/0.9.9/12813592349865671909 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/crackerjack.py +17 -6
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/pyproject.toml +6 -6
- {crackerjack-0.11.3 → crackerjack-0.11.5}/pyproject.toml +6 -6
- crackerjack-0.11.3/crackerjack/.ruff_cache/0.9.9/12813592349865671909 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/LICENSE +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/README.md +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.gitignore +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.libcst.codemod.yaml +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.pdm.toml +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/.gitignore +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.1.11/3256171999636029978 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.1.14/602324811142551221 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.1.4/10355199064880463147 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.1.6/15140459877605758699 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.1.7/1790508110482614856 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.1.9/17041001205004563469 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.2.0/10047773857155985907 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.2.1/8522267973936635051 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.2.2/18053836298936336950 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.3.0/12548816621480535786 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.3.3/11081883392474770722 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.3.4/676973378459347183 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.3.5/16311176246009842383 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.5.7/1493622539551733492 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.5.7/6231957614044513175 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.5.7/9932762556785938009 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.6.0/11982804814124138945 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.6.0/12055761203849489982 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.6.2/1206147804896221174 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.6.4/1206147804896221174 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.6.5/1206147804896221174 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.6.7/3657366982708166874 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.6.9/285614542852677309 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.7.1/1024065805990144819 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.7.1/285614542852677309 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.7.3/16061516852537040135 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.8.4/16354268377385700367 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.9.3/13948373885254993391 +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/CACHEDIR.TAG +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/__init__.py +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/__main__.py +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/tests/__init__.py +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/tests/test_crackerjack.py +0 -0
- {crackerjack-0.11.3 → crackerjack-0.11.5}/tests/test_main.py +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: crackerjack
|
3
|
-
Version: 0.11.
|
3
|
+
Version: 0.11.5
|
4
4
|
Summary: Default template for PDM package
|
5
5
|
Keywords: black,ruff,mypy,creosote,refurb
|
6
6
|
Author-Email: lesleslie <les@wedgwoodwebworks.com>
|
@@ -24,12 +24,12 @@ Project-URL: repository, https://github.com/lesleslie/crackerjack
|
|
24
24
|
Requires-Python: >=3.13
|
25
25
|
Requires-Dist: click>=8.1.8
|
26
26
|
Requires-Dist: autotyping>=24.9.0
|
27
|
-
Requires-Dist: pre-commit>=4.0
|
28
|
-
Requires-Dist: pytest>=8.3.
|
29
|
-
Requires-Dist: pydantic>=2.10.
|
27
|
+
Requires-Dist: pre-commit>=4.1.0
|
28
|
+
Requires-Dist: pytest>=8.3.5
|
29
|
+
Requires-Dist: pydantic>=2.10.6
|
30
30
|
Requires-Dist: pdm-bump>=0.9.10
|
31
|
-
Requires-Dist: pdm>=2.22.
|
32
|
-
Requires-Dist: uv>=0.5
|
31
|
+
Requires-Dist: pdm>=2.22.4
|
32
|
+
Requires-Dist: uv>=0.6.5
|
33
33
|
Requires-Dist: pytest-cov>=6.0.0
|
34
34
|
Requires-Dist: pytest-mock>=3.14.0
|
35
35
|
Requires-Dist: tomli-w>=1.2.0
|
@@ -1,6 +1,6 @@
|
|
1
1
|
repos:
|
2
2
|
- repo: https://github.com/pdm-project/pdm
|
3
|
-
rev: 2.22.
|
3
|
+
rev: 2.22.4 # a PDM release exposing the hook
|
4
4
|
hooks:
|
5
5
|
- id: pdm-lock-check
|
6
6
|
- repo: https://github.com/pre-commit/pre-commit-hooks
|
@@ -17,7 +17,7 @@ repos:
|
|
17
17
|
- id: check-added-large-files
|
18
18
|
name: check-added-large-files
|
19
19
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
20
|
-
rev: v0.9.
|
20
|
+
rev: v0.9.10
|
21
21
|
hooks:
|
22
22
|
- id: ruff-format
|
23
23
|
- id: ruff
|
@@ -69,7 +69,7 @@ repos:
|
|
69
69
|
hooks:
|
70
70
|
- id: pyright
|
71
71
|
- repo: https://github.com/astral-sh/ruff-pre-commit
|
72
|
-
rev: v0.9.
|
72
|
+
rev: v0.9.10
|
73
73
|
hooks:
|
74
74
|
- id: ruff
|
75
75
|
- id: ruff-format
|
Binary file
|
Binary file
|
@@ -19,6 +19,14 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
19
19
|
pkg_toml_path: t.Optional[Path] = None
|
20
20
|
python_version: str = "3.13"
|
21
21
|
|
22
|
+
def swap_package_name(self, value: t.Any) -> t.Any:
|
23
|
+
if isinstance(value, list):
|
24
|
+
value.remove("crackerjack")
|
25
|
+
value.append(self.pkg_name)
|
26
|
+
elif isinstance(value, str):
|
27
|
+
value = value.replace("crackerjack", self.pkg_name)
|
28
|
+
return value
|
29
|
+
|
22
30
|
def update_pyproject_configs(self) -> None:
|
23
31
|
toml_file = "pyproject.toml"
|
24
32
|
self.our_toml_path = self.our_path / toml_file
|
@@ -32,12 +40,15 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
32
40
|
pkg_toml_config.setdefault("project", {})
|
33
41
|
for tool, settings in our_toml_config["tool"].items():
|
34
42
|
for setting, value in settings.items():
|
35
|
-
if isinstance(value,
|
36
|
-
|
37
|
-
|
38
|
-
value.
|
39
|
-
|
40
|
-
|
43
|
+
if isinstance(value, dict):
|
44
|
+
for k, v in {
|
45
|
+
x: self.swap_package_name(y)
|
46
|
+
for x, y in value.items()
|
47
|
+
if isinstance(y, str | list) and "crackerjack" in y
|
48
|
+
}.items():
|
49
|
+
settings[setting][k] = v
|
50
|
+
elif isinstance(value, str | list) and "crackerjack" in value:
|
51
|
+
value = self.swap_package_name(value)
|
41
52
|
settings[setting] = value
|
42
53
|
if setting in (
|
43
54
|
"exclude-deps",
|
@@ -119,7 +119,7 @@ pythonPlatform = "Darwin"
|
|
119
119
|
|
120
120
|
[project]
|
121
121
|
name = "crackerjack"
|
122
|
-
version = "0.11.
|
122
|
+
version = "0.11.4"
|
123
123
|
description = "Default template for PDM package"
|
124
124
|
requires-python = ">=3.13"
|
125
125
|
readme = "README.md"
|
@@ -147,12 +147,12 @@ classifiers = [
|
|
147
147
|
dependencies = [
|
148
148
|
"click>=8.1.8",
|
149
149
|
"autotyping>=24.9.0",
|
150
|
-
"pre-commit>=4.0
|
151
|
-
"pytest>=8.3.
|
152
|
-
"pydantic>=2.10.
|
150
|
+
"pre-commit>=4.1.0",
|
151
|
+
"pytest>=8.3.5",
|
152
|
+
"pydantic>=2.10.6",
|
153
153
|
"pdm-bump>=0.9.10",
|
154
|
-
"pdm>=2.22.
|
155
|
-
"uv>=0.5
|
154
|
+
"pdm>=2.22.4",
|
155
|
+
"uv>=0.6.5",
|
156
156
|
"pytest-cov>=6.0.0",
|
157
157
|
"pytest-mock>=3.14.0",
|
158
158
|
"tomli-w>=1.2.0",
|
@@ -121,7 +121,7 @@ pythonPlatform = "Darwin"
|
|
121
121
|
|
122
122
|
[project]
|
123
123
|
name = "crackerjack"
|
124
|
-
version = "0.11.
|
124
|
+
version = "0.11.5"
|
125
125
|
description = "Default template for PDM package"
|
126
126
|
requires-python = ">=3.13"
|
127
127
|
readme = "README.md"
|
@@ -149,12 +149,12 @@ classifiers = [
|
|
149
149
|
dependencies = [
|
150
150
|
"click>=8.1.8",
|
151
151
|
"autotyping>=24.9.0",
|
152
|
-
"pre-commit>=4.0
|
153
|
-
"pytest>=8.3.
|
154
|
-
"pydantic>=2.10.
|
152
|
+
"pre-commit>=4.1.0",
|
153
|
+
"pytest>=8.3.5",
|
154
|
+
"pydantic>=2.10.6",
|
155
155
|
"pdm-bump>=0.9.10",
|
156
|
-
"pdm>=2.22.
|
157
|
-
"uv>=0.5
|
156
|
+
"pdm>=2.22.4",
|
157
|
+
"uv>=0.6.5",
|
158
158
|
"pytest-cov>=6.0.0",
|
159
159
|
"pytest-mock>=3.14.0",
|
160
160
|
"tomli-w>=1.2.0",
|
Binary file
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.1.11/3256171999636029978
RENAMED
File without changes
|
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.1.4/10355199064880463147
RENAMED
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.1.6/15140459877605758699
RENAMED
File without changes
|
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.1.9/17041001205004563469
RENAMED
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.2.0/10047773857155985907
RENAMED
File without changes
|
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.2.2/18053836298936336950
RENAMED
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.3.0/12548816621480535786
RENAMED
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.3.3/11081883392474770722
RENAMED
File without changes
|
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.3.5/16311176246009842383
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.6.0/11982804814124138945
RENAMED
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.6.0/12055761203849489982
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.7.3/16061516852537040135
RENAMED
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.8.4/16354268377385700367
RENAMED
File without changes
|
{crackerjack-0.11.3 → crackerjack-0.11.5}/crackerjack/.ruff_cache/0.9.3/13948373885254993391
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|