crackerjack 0.11.1__py3-none-any.whl → 0.11.3__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.9.9/12813592349865671909 +0 -0
- crackerjack/crackerjack.py +5 -4
- crackerjack/pyproject.toml +7 -1
- {crackerjack-0.11.1.dist-info → crackerjack-0.11.3.dist-info}/METADATA +2 -1
- {crackerjack-0.11.1.dist-info → crackerjack-0.11.3.dist-info}/RECORD +8 -8
- {crackerjack-0.11.1.dist-info → crackerjack-0.11.3.dist-info}/WHEEL +0 -0
- {crackerjack-0.11.1.dist-info → crackerjack-0.11.3.dist-info}/entry_points.txt +0 -0
- {crackerjack-0.11.1.dist-info → crackerjack-0.11.3.dist-info}/licenses/LICENSE +0 -0
Binary file
|
crackerjack/crackerjack.py
CHANGED
@@ -28,6 +28,8 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
28
28
|
return
|
29
29
|
our_toml_config: t.Any = loads(self.our_toml_path.read_text())
|
30
30
|
pkg_toml_config: t.Any = loads(self.pkg_toml_path.read_text())
|
31
|
+
pkg_toml_config.setdefault("tool", {})
|
32
|
+
pkg_toml_config.setdefault("project", {})
|
31
33
|
for tool, settings in our_toml_config["tool"].items():
|
32
34
|
for setting, value in settings.items():
|
33
35
|
if isinstance(value, str | list) and "crackerjack" in value:
|
@@ -44,14 +46,13 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
44
46
|
"skips",
|
45
47
|
"ignore",
|
46
48
|
) and isinstance(value, list):
|
47
|
-
|
48
|
-
|
49
|
-
)
|
49
|
+
conf = pkg_toml_config["tool"].get(tool, {}).get(setting, [])
|
50
|
+
settings[setting] = list(set(conf + value))
|
50
51
|
pkg_toml_config["tool"][tool] = settings
|
51
52
|
python_version_pattern = r"\s*W*(\d\.\d*)"
|
52
53
|
requires_python = our_toml_config["project"]["requires-python"]
|
53
54
|
classifiers = []
|
54
|
-
for classifier in pkg_toml_config["project"]
|
55
|
+
for classifier in pkg_toml_config["project"].get("classifiers", []):
|
55
56
|
classifier = re.sub(
|
56
57
|
python_version_pattern, f" {self.python_version}", classifier
|
57
58
|
)
|
crackerjack/pyproject.toml
CHANGED
@@ -1,5 +1,6 @@
|
|
1
1
|
[tool.pytest.ini_options]
|
2
2
|
addopts = "--cov=crackerjack"
|
3
|
+
asyncio_default_fixture_loop_scope = "function"
|
3
4
|
|
4
5
|
[tool.codespell]
|
5
6
|
skip = "*/data/*"
|
@@ -69,6 +70,7 @@ exclude-deps = [
|
|
69
70
|
"pyyaml",
|
70
71
|
"uv",
|
71
72
|
"tomli-w",
|
73
|
+
"google-crc32c",
|
72
74
|
]
|
73
75
|
|
74
76
|
[tool.refurb]
|
@@ -108,13 +110,16 @@ reportOptionalCall = false
|
|
108
110
|
reportUnknownMemberType = false
|
109
111
|
reportUnknownVariableType = false
|
110
112
|
reportUnknownArgumentType = false
|
113
|
+
reportInvalidTypeForm = false
|
114
|
+
reportUnknownLambdaType = false
|
115
|
+
reportUnknownParameterType = "warning"
|
111
116
|
reportPrivateUsage = "warning"
|
112
117
|
pythonVersion = "3.13"
|
113
118
|
pythonPlatform = "Darwin"
|
114
119
|
|
115
120
|
[project]
|
116
121
|
name = "crackerjack"
|
117
|
-
version = "0.11.
|
122
|
+
version = "0.11.2"
|
118
123
|
description = "Default template for PDM package"
|
119
124
|
requires-python = ">=3.13"
|
120
125
|
readme = "README.md"
|
@@ -151,6 +156,7 @@ dependencies = [
|
|
151
156
|
"pytest-cov>=6.0.0",
|
152
157
|
"pytest-mock>=3.14.0",
|
153
158
|
"tomli-w>=1.2.0",
|
159
|
+
"pytest-asyncio>=0.25.3",
|
154
160
|
]
|
155
161
|
authors = [
|
156
162
|
{ name = "lesleslie", email = "les@wedgwoodwebworks.com" },
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: crackerjack
|
3
|
-
Version: 0.11.
|
3
|
+
Version: 0.11.3
|
4
4
|
Summary: Default template for PDM package
|
5
5
|
Keywords: black,ruff,mypy,creosote,refurb
|
6
6
|
Author-Email: lesleslie <les@wedgwoodwebworks.com>
|
@@ -33,6 +33,7 @@ Requires-Dist: uv>=0.5.13
|
|
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
|
36
|
+
Requires-Dist: pytest-asyncio>=0.25.3
|
36
37
|
Description-Content-Type: text/markdown
|
37
38
|
|
38
39
|
# Crackerjack Python
|
@@ -1,7 +1,7 @@
|
|
1
|
-
crackerjack-0.11.
|
2
|
-
crackerjack-0.11.
|
3
|
-
crackerjack-0.11.
|
4
|
-
crackerjack-0.11.
|
1
|
+
crackerjack-0.11.3.dist-info/METADATA,sha256=VVigNuVk8qprca0J0hDocdY7iXcia9ZZIy7ccOr_JZM,6323
|
2
|
+
crackerjack-0.11.3.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
3
|
+
crackerjack-0.11.3.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
4
|
+
crackerjack-0.11.3.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
|
5
5
|
crackerjack/.gitignore,sha256=7qePRaD8q-U6oV3gvgAcwFF8GudcRGAWf-Z-0IDqMaE,207
|
6
6
|
crackerjack/.libcst.codemod.yaml,sha256=a8DlErRAIPV1nE6QlyXPAzTOgkB24_spl2E9hphuf5s,772
|
7
7
|
crackerjack/.pdm.toml,sha256=dZe44HRcuxxCFESGG8SZIjmc-cGzSoyK3Hs6t4NYA8w,23
|
@@ -35,10 +35,10 @@ crackerjack/.ruff_cache/0.7.1/285614542852677309,sha256=mOHKRzKoSvW-1sHtqI_LHWRt
|
|
35
35
|
crackerjack/.ruff_cache/0.7.3/16061516852537040135,sha256=AWJR9gmaO7-wpv8mY1homuwI8CrMPI3VrnbXH-wRPlg,224
|
36
36
|
crackerjack/.ruff_cache/0.8.4/16354268377385700367,sha256=Ksz4X8N6Z1i83N0vV1PxmBRlqgjrtzmDCOg7VBF4baQ,224
|
37
37
|
crackerjack/.ruff_cache/0.9.3/13948373885254993391,sha256=kGhtIkzPUtKAgvlKs3D8j4QM4qG8RhsHrmQJI69Sv3o,224
|
38
|
-
crackerjack/.ruff_cache/0.9.9/12813592349865671909,sha256=
|
38
|
+
crackerjack/.ruff_cache/0.9.9/12813592349865671909,sha256=RfNLBMX23ATK_GzSmnPl0h8AsUG9sZU3GwPCsVHe2FU,224
|
39
39
|
crackerjack/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
|
40
40
|
crackerjack/__init__.py,sha256=AuglbbJHkUJ2GdvyT0ca35ntexo1RkT2V6DgypoFeEk,121
|
41
41
|
crackerjack/__main__.py,sha256=3TrS-Hejbx315O558j3MI2L59VX0Y6t0tz5L41NTVG0,1738
|
42
|
-
crackerjack/crackerjack.py,sha256=
|
43
|
-
crackerjack/pyproject.toml,sha256=
|
44
|
-
crackerjack-0.11.
|
42
|
+
crackerjack/crackerjack.py,sha256=Aa5Mb0p63W2AG0rcYzU1H2iez-z42eGqDP3dWPRbh9A,6693
|
43
|
+
crackerjack/pyproject.toml,sha256=to6-Bt4ercUziPxCtxSbK5SsvgMWN4uGQ3sBiMvn9pc,3399
|
44
|
+
crackerjack-0.11.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|