crackerjack 0.1.8__py3-none-any.whl → 0.1.10__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/.pre-commit-config.yaml +2 -2
- crackerjack/crackerjack.py +4 -3
- crackerjack/pyproject.toml +0 -1
- {crackerjack-0.1.8.dist-info → crackerjack-0.1.10.dist-info}/METADATA +1 -1
- crackerjack-0.1.10.dist-info/RECORD +16 -0
- crackerjack-0.1.8.dist-info/RECORD +0 -16
- {crackerjack-0.1.8.dist-info → crackerjack-0.1.10.dist-info}/WHEEL +0 -0
- {crackerjack-0.1.8.dist-info → crackerjack-0.1.10.dist-info}/entry_points.txt +0 -0
- {crackerjack-0.1.8.dist-info → crackerjack-0.1.10.dist-info}/licenses/LICENSE +0 -0
|
@@ -18,7 +18,7 @@ repos:
|
|
|
18
18
|
- id: black
|
|
19
19
|
language_version: python3.11
|
|
20
20
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
21
|
-
rev: v0.0.
|
|
21
|
+
rev: v0.0.264
|
|
22
22
|
hooks:
|
|
23
23
|
- id: ruff
|
|
24
24
|
- repo: https://github.com/fredrikaverpil/creosote
|
|
@@ -64,7 +64,7 @@ repos:
|
|
|
64
64
|
# types: [ python ]
|
|
65
65
|
# always_run: true
|
|
66
66
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
67
|
-
rev: v0.0.
|
|
67
|
+
rev: v0.0.264
|
|
68
68
|
hooks:
|
|
69
69
|
- id: ruff
|
|
70
70
|
- repo: https://github.com/psf/black
|
crackerjack/crackerjack.py
CHANGED
|
@@ -77,7 +77,7 @@ class Crakerjack(BaseModel):
|
|
|
77
77
|
async def run_interactive(hook: str) -> None:
|
|
78
78
|
success = False
|
|
79
79
|
while not success:
|
|
80
|
-
fail = call(["pre-commit", "run", hook.lower()])
|
|
80
|
+
fail = call(["pre-commit", "run", hook.lower(), "--all-files"])
|
|
81
81
|
if fail > 0:
|
|
82
82
|
retry = await ainput(f"\n{hook} failed. Retry? (y/n): ")
|
|
83
83
|
if retry.lower() == "y":
|
|
@@ -116,13 +116,14 @@ class Crakerjack(BaseModel):
|
|
|
116
116
|
await self.pkg_dir.mkdir(exist_ok=True)
|
|
117
117
|
print("\nCrackerjacking...\n")
|
|
118
118
|
if self.pkg_path.stem == "crackerjack":
|
|
119
|
+
run(["git", "add", ".pre-commit-config.yaml"])
|
|
119
120
|
run(["pre-commit", "autoupdate"])
|
|
120
121
|
if not options.do_not_update_configs:
|
|
121
122
|
await self.update_pkg_configs()
|
|
122
123
|
if options.interactive:
|
|
123
|
-
for hook in ("
|
|
124
|
+
for hook in ("refurb", "mypy"):
|
|
124
125
|
await self.run_interactive(hook)
|
|
125
|
-
check_all = call(["pre-commit", "run"])
|
|
126
|
+
check_all = call(["pre-commit", "run", "--all-files"])
|
|
126
127
|
if check_all > 0:
|
|
127
128
|
call(["pre-commit", "run", "--all-files"])
|
|
128
129
|
if options.publish:
|
crackerjack/pyproject.toml
CHANGED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
crackerjack-0.1.10.dist-info/METADATA,sha256=oZXdk6M79wjyQ-ERfY1vA5IL-PfY6DyXnAWqJFiy-s8,3861
|
|
2
|
+
crackerjack-0.1.10.dist-info/WHEEL,sha256=7dGFtUmOf30dPBLpGD2z643cxg89joO7p3JHBAwDv6E,90
|
|
3
|
+
crackerjack-0.1.10.dist-info/entry_points.txt,sha256=i2oN8Ae25gU-XoxtDndkB7we3AiSvh8-LPe0e6_tgrM,19
|
|
4
|
+
crackerjack-0.1.10.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
|
|
5
|
+
crackerjack/.crackerjack-config.yaml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
+
crackerjack/.gitignore,sha256=ag017-ZUeFMEi6kiP2vwJI5Dzh1WMBdGocSNkR6n6Mo,197
|
|
7
|
+
crackerjack/.libcst.codemod.yaml,sha256=TLE_I07llPTYk_tm36z-hN15O3X27qztNdJ3Ev9ODMk,768
|
|
8
|
+
crackerjack/.pre-commit-config.yaml,sha256=YhEuQZOEpv9QLu58yvG5FBE3QHORwtt0VX3lP6rabfk,2055
|
|
9
|
+
crackerjack/.ruff_cache/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
|
|
10
|
+
crackerjack/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
|
|
11
|
+
crackerjack/__init__.py,sha256=AuglbbJHkUJ2GdvyT0ca35ntexo1RkT2V6DgypoFeEk,121
|
|
12
|
+
crackerjack/__main__.py,sha256=2lhz19wwuSwKwBJBEWR860b4KnswHaSeMVpwxlh4A28,1099
|
|
13
|
+
crackerjack/crackerjack.py,sha256=fbMJA0sj9z2uvwGR8nbgqgIyHe7oZEYRo4KL1Xfw3BA,5057
|
|
14
|
+
crackerjack/pyproject.toml,sha256=T4U9hDDYzjdI0c7DRHqKjBLuCapfKekjD4JiWhlks-s,1690
|
|
15
|
+
crackerjack/test1.py,sha256=pMtiBJvRxBODeRN-XtrVGi-EqdJoWsobDU8ZEzhQ6OY,5606
|
|
16
|
+
crackerjack-0.1.10.dist-info/RECORD,,
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
crackerjack-0.1.8.dist-info/METADATA,sha256=fFVFtjh1gwXyM8YtmkA2h6cDO9sQ4y615rYRdxFIRBM,3860
|
|
2
|
-
crackerjack-0.1.8.dist-info/WHEEL,sha256=7dGFtUmOf30dPBLpGD2z643cxg89joO7p3JHBAwDv6E,90
|
|
3
|
-
crackerjack-0.1.8.dist-info/entry_points.txt,sha256=i2oN8Ae25gU-XoxtDndkB7we3AiSvh8-LPe0e6_tgrM,19
|
|
4
|
-
crackerjack-0.1.8.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
|
|
5
|
-
crackerjack/.crackerjack-config.yaml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
|
-
crackerjack/.gitignore,sha256=ag017-ZUeFMEi6kiP2vwJI5Dzh1WMBdGocSNkR6n6Mo,197
|
|
7
|
-
crackerjack/.libcst.codemod.yaml,sha256=TLE_I07llPTYk_tm36z-hN15O3X27qztNdJ3Ev9ODMk,768
|
|
8
|
-
crackerjack/.pre-commit-config.yaml,sha256=szCBJXEYuEG8btuueXhialYTsbsXBMP8pBuWckhPG_g,2055
|
|
9
|
-
crackerjack/.ruff_cache/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
|
|
10
|
-
crackerjack/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
|
|
11
|
-
crackerjack/__init__.py,sha256=AuglbbJHkUJ2GdvyT0ca35ntexo1RkT2V6DgypoFeEk,121
|
|
12
|
-
crackerjack/__main__.py,sha256=2lhz19wwuSwKwBJBEWR860b4KnswHaSeMVpwxlh4A28,1099
|
|
13
|
-
crackerjack/crackerjack.py,sha256=biBOkNIsvgnC7_4FGjtlo9Fa7JsYPPB5eReQG6y9VaY,4966
|
|
14
|
-
crackerjack/pyproject.toml,sha256=vqD4sU-Vx28Ti6cLhAxAwT1jNgTzF2ETZZ5LQMF3OD8,1708
|
|
15
|
-
crackerjack/test1.py,sha256=pMtiBJvRxBODeRN-XtrVGi-EqdJoWsobDU8ZEzhQ6OY,5606
|
|
16
|
-
crackerjack-0.1.8.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|