crackerjack 0.1.9__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.

@@ -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
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:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: crackerjack
3
- Version: 0.1.9
3
+ Version: 0.1.10
4
4
  Summary: Crackerjack code formatting style.
5
5
  Keywords: black ruff mypy creosote refurb
6
6
  Home-page: https://github.com/lesleslie/crackerjack
@@ -1,7 +1,7 @@
1
- crackerjack-0.1.9.dist-info/METADATA,sha256=JifbqC1xsg_eJrbc4ZlUAkAqQs_QWeXt6uHjTsLUHPo,3860
2
- crackerjack-0.1.9.dist-info/WHEEL,sha256=7dGFtUmOf30dPBLpGD2z643cxg89joO7p3JHBAwDv6E,90
3
- crackerjack-0.1.9.dist-info/entry_points.txt,sha256=i2oN8Ae25gU-XoxtDndkB7we3AiSvh8-LPe0e6_tgrM,19
4
- crackerjack-0.1.9.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
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
5
  crackerjack/.crackerjack-config.yaml,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
6
6
  crackerjack/.gitignore,sha256=ag017-ZUeFMEi6kiP2vwJI5Dzh1WMBdGocSNkR6n6Mo,197
7
7
  crackerjack/.libcst.codemod.yaml,sha256=TLE_I07llPTYk_tm36z-hN15O3X27qztNdJ3Ev9ODMk,768
@@ -10,7 +10,7 @@ crackerjack/.ruff_cache/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV
10
10
  crackerjack/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
11
11
  crackerjack/__init__.py,sha256=AuglbbJHkUJ2GdvyT0ca35ntexo1RkT2V6DgypoFeEk,121
12
12
  crackerjack/__main__.py,sha256=2lhz19wwuSwKwBJBEWR860b4KnswHaSeMVpwxlh4A28,1099
13
- crackerjack/crackerjack.py,sha256=6gtsLWADjt7xw9jBzq-wMV8VorRpYvK7TpXoG-IUJM0,4968
13
+ crackerjack/crackerjack.py,sha256=fbMJA0sj9z2uvwGR8nbgqgIyHe7oZEYRo4KL1Xfw3BA,5057
14
14
  crackerjack/pyproject.toml,sha256=T4U9hDDYzjdI0c7DRHqKjBLuCapfKekjD4JiWhlks-s,1690
15
15
  crackerjack/test1.py,sha256=pMtiBJvRxBODeRN-XtrVGi-EqdJoWsobDU8ZEzhQ6OY,5606
16
- crackerjack-0.1.9.dist-info/RECORD,,
16
+ crackerjack-0.1.10.dist-info/RECORD,,