crackerjack 0.14.3__py3-none-any.whl → 0.14.4__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.10/923908772239632759 +0 -0
- crackerjack/crackerjack.py +1 -1
- crackerjack/pyproject.toml +29 -1
- {crackerjack-0.14.3.dist-info → crackerjack-0.14.4.dist-info}/METADATA +1 -1
- {crackerjack-0.14.3.dist-info → crackerjack-0.14.4.dist-info}/RECORD +8 -8
- {crackerjack-0.14.3.dist-info → crackerjack-0.14.4.dist-info}/WHEEL +0 -0
- {crackerjack-0.14.3.dist-info → crackerjack-0.14.4.dist-info}/entry_points.txt +0 -0
- {crackerjack-0.14.3.dist-info → crackerjack-0.14.4.dist-info}/licenses/LICENSE +0 -0
Binary file
|
crackerjack/crackerjack.py
CHANGED
@@ -53,7 +53,7 @@ class CodeCleaner(BaseModel, arbitrary_types_allowed=True):
|
|
53
53
|
def remove_line_comments(self, code: str) -> str:
|
54
54
|
new_lines = []
|
55
55
|
for line in code.splitlines():
|
56
|
-
if "#" not in line
|
56
|
+
if "#" not in line:
|
57
57
|
new_lines.append(line)
|
58
58
|
continue
|
59
59
|
idx = line.find("#")
|
crackerjack/pyproject.toml
CHANGED
@@ -1,6 +1,34 @@
|
|
1
1
|
[tool.pytest.ini_options]
|
2
2
|
addopts = "--cov=crackerjack"
|
3
3
|
asyncio_default_fixture_loop_scope = "function"
|
4
|
+
python_files = ["test_*.py", "*_test.py"]
|
5
|
+
python_classes = "Test*"
|
6
|
+
python_functions = "test_*"
|
7
|
+
asyncio_mode = "auto"
|
8
|
+
|
9
|
+
[tool.coverage.run]
|
10
|
+
branch = true
|
11
|
+
source = ["crackerjack"]
|
12
|
+
omit = [
|
13
|
+
"*/tests/*",
|
14
|
+
"*/site-packages/*",
|
15
|
+
"*/__pycache__/*",
|
16
|
+
"*/__init__.py",
|
17
|
+
]
|
18
|
+
|
19
|
+
[tool.coverage.report]
|
20
|
+
exclude_also = [
|
21
|
+
"pragma: no cover",
|
22
|
+
"def __repr__",
|
23
|
+
"raise NotImplementedError",
|
24
|
+
"if __name__ == .__main__.:",
|
25
|
+
"pass",
|
26
|
+
"raise ImportError",
|
27
|
+
"except ImportError",
|
28
|
+
"def __str__",
|
29
|
+
"@abstractmethod",
|
30
|
+
]
|
31
|
+
ignore_errors = false
|
4
32
|
|
5
33
|
[tool.codespell]
|
6
34
|
skip = "*/data/*"
|
@@ -119,7 +147,7 @@ pythonPlatform = "Darwin"
|
|
119
147
|
|
120
148
|
[project]
|
121
149
|
name = "crackerjack"
|
122
|
-
version = "0.14.
|
150
|
+
version = "0.14.3"
|
123
151
|
description = "Default template for PDM package"
|
124
152
|
requires-python = ">=3.13"
|
125
153
|
readme = "README.md"
|
@@ -1,7 +1,7 @@
|
|
1
|
-
crackerjack-0.14.
|
2
|
-
crackerjack-0.14.
|
3
|
-
crackerjack-0.14.
|
4
|
-
crackerjack-0.14.
|
1
|
+
crackerjack-0.14.4.dist-info/METADATA,sha256=wC0ceNrYPUl_nUQzVFYKYXYHSPC5tpw1jOsezSoXsbA,11033
|
2
|
+
crackerjack-0.14.4.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
3
|
+
crackerjack-0.14.4.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
4
|
+
crackerjack-0.14.4.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
|
5
5
|
crackerjack/.coverage,sha256=dLzPzp72qZEXohNfxnOAlRwvM9dqF06-HoFqfvXZd1U,53248
|
6
6
|
crackerjack/.gitignore,sha256=l8ErBAypC3rI6N9lhc7ZMdOw87t0Tz69ZW5C6uj15Wg,214
|
7
7
|
crackerjack/.libcst.codemod.yaml,sha256=a8DlErRAIPV1nE6QlyXPAzTOgkB24_spl2E9hphuf5s,772
|
@@ -41,13 +41,13 @@ crackerjack/.ruff_cache/0.7.1/285614542852677309,sha256=mOHKRzKoSvW-1sHtqI_LHWRt
|
|
41
41
|
crackerjack/.ruff_cache/0.7.3/16061516852537040135,sha256=AWJR9gmaO7-wpv8mY1homuwI8CrMPI3VrnbXH-wRPlg,224
|
42
42
|
crackerjack/.ruff_cache/0.8.4/16354268377385700367,sha256=Ksz4X8N6Z1i83N0vV1PxmBRlqgjrtzmDCOg7VBF4baQ,224
|
43
43
|
crackerjack/.ruff_cache/0.9.10/12813592349865671909,sha256=6yRYi5XvzLtzUymRBm6-DozDE48eJtLmaLGSghgY3Wo,224
|
44
|
-
crackerjack/.ruff_cache/0.9.10/923908772239632759,sha256=
|
44
|
+
crackerjack/.ruff_cache/0.9.10/923908772239632759,sha256=XNakPJR4lyXTBP_I8A0Lpa8zo2WSQhbDnlRKD2lCNrI,224
|
45
45
|
crackerjack/.ruff_cache/0.9.3/13948373885254993391,sha256=kGhtIkzPUtKAgvlKs3D8j4QM4qG8RhsHrmQJI69Sv3o,224
|
46
46
|
crackerjack/.ruff_cache/0.9.9/12813592349865671909,sha256=tmr8_vhRD2OxsVuMfbJPdT9fDFX-d5tfC5U9jgziyho,224
|
47
47
|
crackerjack/.ruff_cache/0.9.9/8843823720003377982,sha256=e4ymkXfQsUg5e_mtO34xTsaTvs1uA3_fI216Qq9qCAM,136
|
48
48
|
crackerjack/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
|
49
49
|
crackerjack/__init__.py,sha256=XTWW_XQkWR6dSydFSLg-T--eY3TPKUp4jUwZP11kgwY,142
|
50
50
|
crackerjack/__main__.py,sha256=7SHrcRFYhMaSV0S-EG8q2w8udURwdvIsS7vi9AW4naU,3784
|
51
|
-
crackerjack/crackerjack.py,sha256=
|
52
|
-
crackerjack/pyproject.toml,sha256=
|
53
|
-
crackerjack-0.14.
|
51
|
+
crackerjack/crackerjack.py,sha256=6FXuzNiS46eE9L_mLDHwGi7hMEdMwQKFuWmgSVgdvsg,18927
|
52
|
+
crackerjack/pyproject.toml,sha256=HuWlXCj4FR_W9hlgh-3kT1uQQTsLhfCbqeHVXgkN194,3981
|
53
|
+
crackerjack-0.14.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|