crackerjack 0.7.34__py3-none-any.whl → 0.7.36__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 +5 -5
- crackerjack/crackerjack.py +2 -18
- crackerjack/pyproject.toml +1 -1
- {crackerjack-0.7.34.dist-info → crackerjack-0.7.36.dist-info}/METADATA +1 -1
- {crackerjack-0.7.34.dist-info → crackerjack-0.7.36.dist-info}/RECORD +7 -7
- {crackerjack-0.7.34.dist-info → crackerjack-0.7.36.dist-info}/WHEEL +0 -0
- {crackerjack-0.7.34.dist-info → crackerjack-0.7.36.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
repos:
|
|
2
2
|
- repo: https://github.com/pdm-project/pdm
|
|
3
|
-
rev: 2.15.
|
|
3
|
+
rev: 2.15.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
|
|
@@ -21,7 +21,7 @@ repos:
|
|
|
21
21
|
hooks:
|
|
22
22
|
- id: black
|
|
23
23
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
24
|
-
rev: v0.4.
|
|
24
|
+
rev: v0.4.7
|
|
25
25
|
hooks:
|
|
26
26
|
- id: ruff
|
|
27
27
|
- repo: https://github.com/fredrikaverpil/creosote
|
|
@@ -33,7 +33,7 @@ repos:
|
|
|
33
33
|
hooks:
|
|
34
34
|
- id: flynt
|
|
35
35
|
- repo: https://github.com/codespell-project/codespell
|
|
36
|
-
rev: v2.
|
|
36
|
+
rev: v2.3.0
|
|
37
37
|
hooks:
|
|
38
38
|
- id: codespell
|
|
39
39
|
additional_dependencies:
|
|
@@ -66,11 +66,11 @@ repos:
|
|
|
66
66
|
- id: bandit
|
|
67
67
|
args: ["-c", "pyproject.toml"]
|
|
68
68
|
- repo: https://github.com/RobertCraigie/pyright-python
|
|
69
|
-
rev: v1.1.
|
|
69
|
+
rev: v1.1.365
|
|
70
70
|
hooks:
|
|
71
71
|
- id: pyright
|
|
72
72
|
- repo: https://github.com/charliermarsh/ruff-pre-commit
|
|
73
|
-
rev: v0.4.
|
|
73
|
+
rev: v0.4.7
|
|
74
74
|
hooks:
|
|
75
75
|
- id: ruff
|
|
76
76
|
- repo: https://github.com/psf/black
|
crackerjack/crackerjack.py
CHANGED
|
@@ -78,11 +78,7 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
|
78
78
|
await dump.toml(pkg_toml_config, self.pkg_toml_path) # type: ignore
|
|
79
79
|
|
|
80
80
|
async def copy_configs(self) -> None:
|
|
81
|
-
config_files = (
|
|
82
|
-
".gitignore",
|
|
83
|
-
".pre-commit-config.yaml",
|
|
84
|
-
".libcst.codemod.yaml",
|
|
85
|
-
)
|
|
81
|
+
config_files = (".gitignore", ".pre-commit-config.yaml", ".libcst.codemod.yaml")
|
|
86
82
|
for config in config_files:
|
|
87
83
|
config_path = self.our_path / config
|
|
88
84
|
pkg_config_path = self.pkg_path / config
|
|
@@ -90,11 +86,6 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
|
90
86
|
if self.pkg_path.stem == "crackerjack":
|
|
91
87
|
await config_path.write_text(await pkg_config_path.read_text())
|
|
92
88
|
continue
|
|
93
|
-
config_text = await config_path.read_text()
|
|
94
|
-
if config == ".gitignore":
|
|
95
|
-
await pkg_config_path.write_text(
|
|
96
|
-
config_text.replace("crackerjack", self.pkg_name)
|
|
97
|
-
)
|
|
98
89
|
run([str(self.config.git_path), "add", config])
|
|
99
90
|
|
|
100
91
|
async def run_interactive(self, hook: str) -> None:
|
|
@@ -127,14 +118,7 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
|
127
118
|
run([str(self.config.git_path), "add", "pyproject.toml"])
|
|
128
119
|
run([str(self.config.git_path), "add", "pdm.lock"])
|
|
129
120
|
run([str(self.config.pre_commit_path), "install"])
|
|
130
|
-
run(
|
|
131
|
-
[
|
|
132
|
-
str(self.config.git_path),
|
|
133
|
-
"config",
|
|
134
|
-
"advice.addIgnoredFile",
|
|
135
|
-
"false",
|
|
136
|
-
]
|
|
137
|
-
)
|
|
121
|
+
run([str(self.config.git_path), "config", "advice.addIgnoredFile", "false"])
|
|
138
122
|
await self.update_pyproject_configs()
|
|
139
123
|
|
|
140
124
|
async def process(self, options: t.Any) -> None:
|
crackerjack/pyproject.toml
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
crackerjack-0.7.
|
|
2
|
-
crackerjack-0.7.
|
|
3
|
-
crackerjack-0.7.
|
|
1
|
+
crackerjack-0.7.36.dist-info/METADATA,sha256=s24TO8WWaUBO7RjDVUPq_WoDf5tDzGgDASuw_DpfywY,7742
|
|
2
|
+
crackerjack-0.7.36.dist-info/WHEEL,sha256=vnE8JVcI2Wz7GRKorsPArnBdnW2SWKWGow5gu5tHlRU,90
|
|
3
|
+
crackerjack-0.7.36.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
|
|
4
4
|
crackerjack/.gitignore,sha256=aJ2x3-AcCEcaW_quI-j8RtOUcTqGNoLJGMq8mZ3lTrA,197
|
|
5
5
|
crackerjack/.libcst.codemod.yaml,sha256=TLE_I07llPTYk_tm36z-hN15O3X27qztNdJ3Ev9ODMk,768
|
|
6
|
-
crackerjack/.pre-commit-config.yaml,sha256=
|
|
6
|
+
crackerjack/.pre-commit-config.yaml,sha256=CtNeIf_jFp4HNFlDCYJ5Ycf4qTFrtVveOiIl54VbIGA,2396
|
|
7
7
|
crackerjack/.ruff_cache/.gitignore,sha256=aEiIwOuxfzdCmLZe4oB1JsBmCUxwG8x-u-HBCV9JT8E,1
|
|
8
8
|
crackerjack/.ruff_cache/0.1.11/3256171999636029978,sha256=-RLDsRf5uj09SyFQVzjwQ1HkTxjIRxNLLE24SEJxD4g,248
|
|
9
9
|
crackerjack/.ruff_cache/0.1.14/602324811142551221,sha256=HIYvldb69IHdMzquAA8JpzU2RDT9shEB_dPvzyeFZ_g,248
|
|
@@ -21,6 +21,6 @@ crackerjack/.ruff_cache/0.3.5/16311176246009842383,sha256=1jdzqow8vaK7V6TGKnAFbi
|
|
|
21
21
|
crackerjack/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
|
|
22
22
|
crackerjack/__init__.py,sha256=AuglbbJHkUJ2GdvyT0ca35ntexo1RkT2V6DgypoFeEk,121
|
|
23
23
|
crackerjack/__main__.py,sha256=hsMAXG2BglqSaHsVd8Vsyh7Mb5dHcLjvBy4ofgo0NyY,1800
|
|
24
|
-
crackerjack/crackerjack.py,sha256=
|
|
25
|
-
crackerjack/pyproject.toml,sha256=
|
|
26
|
-
crackerjack-0.7.
|
|
24
|
+
crackerjack/crackerjack.py,sha256=Zqg0h_Dyw2X_sCLDwOdH8V3ORNb9a989lmzN2TRU85U,7802
|
|
25
|
+
crackerjack/pyproject.toml,sha256=Uhuq1AMtTAiiKXIAN-3wuJVd6_wF1y7f6cHtWJdWEXQ,2747
|
|
26
|
+
crackerjack-0.7.36.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|