crackerjack 0.8.1__tar.gz → 0.8.2__tar.gz
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-0.8.1 → crackerjack-0.8.2}/PKG-INFO +4 -4
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.libcst.codemod.yaml +1 -1
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.pre-commit-config.yaml +4 -6
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/__main__.py +0 -1
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/crackerjack.py +3 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2/crackerjack}/pyproject.toml +7 -3
- {crackerjack-0.8.1/crackerjack → crackerjack-0.8.2}/pyproject.toml +11 -4
- {crackerjack-0.8.1 → crackerjack-0.8.2}/LICENSE +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/README.md +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.gitignore +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/.gitignore +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.1.11/3256171999636029978 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.1.14/602324811142551221 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.1.4/10355199064880463147 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.1.6/15140459877605758699 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.1.7/1790508110482614856 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.1.9/17041001205004563469 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.2.0/10047773857155985907 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.2.1/8522267973936635051 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.2.2/18053836298936336950 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.3.0/12548816621480535786 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.3.3/11081883392474770722 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.3.4/676973378459347183 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/0.3.5/16311176246009842383 +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/.ruff_cache/CACHEDIR.TAG +0 -0
- {crackerjack-0.8.1 → crackerjack-0.8.2}/crackerjack/__init__.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: Crackerjack
|
|
3
|
-
Version: 0.8.
|
|
3
|
+
Version: 0.8.2
|
|
4
4
|
Summary: Crackerjack code style
|
|
5
5
|
Keywords: black,ruff,mypy,creosote,refurb
|
|
6
6
|
Home-page: https://github.com/lesleslie/crackerjack
|
|
@@ -29,11 +29,11 @@ Requires-Dist: inflection>=0.5.1
|
|
|
29
29
|
Requires-Dist: autotyping>=24.3.0
|
|
30
30
|
Requires-Dist: pre-commit>=3.7.1
|
|
31
31
|
Requires-Dist: pytest>=8.2.1
|
|
32
|
-
Requires-Dist: pydantic>=2.7.
|
|
32
|
+
Requires-Dist: pydantic>=2.7.2
|
|
33
33
|
Requires-Dist: aiopath>=0.7.7
|
|
34
|
-
Requires-Dist: acb>=0.6.
|
|
34
|
+
Requires-Dist: acb>=0.6.2
|
|
35
35
|
Requires-Dist: pdm-bump>=0.9.0
|
|
36
|
-
Requires-Dist: pdm>=2.15.
|
|
36
|
+
Requires-Dist: pdm>=2.15.4
|
|
37
37
|
Description-Content-Type: text/markdown
|
|
38
38
|
|
|
39
39
|
# Crackerjack Python
|
|
@@ -4,7 +4,7 @@ generated_code_marker: '@generated'
|
|
|
4
4
|
# Command line and arguments for invoking a code formatter. Anything
|
|
5
5
|
# specified here must be capable of taking code via stdin and returning
|
|
6
6
|
# formatted code via stdout.
|
|
7
|
-
formatter: [ '
|
|
7
|
+
formatter: [ 'ruff', 'format' ]
|
|
8
8
|
# List of regex patterns which LibCST will evaluate against filenames to
|
|
9
9
|
# determine if the module should be touched.
|
|
10
10
|
blacklist_patterns: [ ]
|
|
@@ -22,7 +22,7 @@ repos:
|
|
|
22
22
|
- id: ruff-format
|
|
23
23
|
- id: ruff
|
|
24
24
|
- repo: https://github.com/fredrikaverpil/creosote
|
|
25
|
-
rev: v3.0.
|
|
25
|
+
rev: v3.0.1
|
|
26
26
|
hooks:
|
|
27
27
|
- id: creosote
|
|
28
28
|
- repo: https://github.com/ikamensh/flynt/
|
|
@@ -39,20 +39,18 @@ repos:
|
|
|
39
39
|
hooks:
|
|
40
40
|
- id: autotyping
|
|
41
41
|
name: autotyping
|
|
42
|
-
entry: python -m
|
|
42
|
+
entry: python -m autotyping
|
|
43
43
|
args:
|
|
44
44
|
- --aggressive
|
|
45
45
|
- --only-without-imports
|
|
46
|
-
- --show-successes
|
|
47
|
-
- --include-generated
|
|
48
46
|
- --guess-common-names
|
|
49
47
|
- crackerjack
|
|
50
48
|
types_or: [ python, pyi ]
|
|
51
49
|
language: python
|
|
52
50
|
files: \.py$
|
|
53
51
|
additional_dependencies:
|
|
54
|
-
- autotyping>=
|
|
55
|
-
- libcst>=
|
|
52
|
+
- autotyping>=24.3.0
|
|
53
|
+
- libcst>=1.1.0
|
|
56
54
|
- repo: https://github.com/dosisod/refurb
|
|
57
55
|
rev: v2.0.0
|
|
58
56
|
hooks:
|
|
@@ -84,6 +84,9 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
|
84
84
|
if self.pkg_path.stem == "crackerjack":
|
|
85
85
|
await config_path.write_text(await pkg_config_path.read_text())
|
|
86
86
|
continue
|
|
87
|
+
await pkg_config_path.write_text(
|
|
88
|
+
(await config_path.read_text()).replace("crackerjack", self.pkg_name)
|
|
89
|
+
)
|
|
87
90
|
run([str(self.config.git_path), "add", config])
|
|
88
91
|
|
|
89
92
|
async def run_interactive(self, hook: str) -> None:
|
|
@@ -22,6 +22,10 @@ output-format = "full"
|
|
|
22
22
|
[tool.ruff.format]
|
|
23
23
|
docstring-code-format = true
|
|
24
24
|
|
|
25
|
+
[tool.ruff.lint.isort]
|
|
26
|
+
no-lines-before = ["first-party", "local-folder"]
|
|
27
|
+
case-sensitive = false
|
|
28
|
+
|
|
25
29
|
[tool.ruff.lint]
|
|
26
30
|
ignore = [
|
|
27
31
|
"F821",
|
|
@@ -121,11 +125,11 @@ dependencies = [
|
|
|
121
125
|
"autotyping>=24.3.0",
|
|
122
126
|
"pre-commit>=3.7.1",
|
|
123
127
|
"pytest>=8.2.1",
|
|
124
|
-
"pydantic>=2.7.
|
|
128
|
+
"pydantic>=2.7.2",
|
|
125
129
|
"aiopath>=0.7.7",
|
|
126
|
-
"acb>=0.6.
|
|
130
|
+
"acb>=0.6.2",
|
|
127
131
|
"pdm-bump>=0.9.0",
|
|
128
|
-
"pdm>=2.15.
|
|
132
|
+
"pdm>=2.15.4",
|
|
129
133
|
]
|
|
130
134
|
authors = [
|
|
131
135
|
{ name = "lesleslie", email = "les@wedgwoodwebworks.com" },
|
|
@@ -40,6 +40,13 @@ extend-select = [
|
|
|
40
40
|
"D",
|
|
41
41
|
]
|
|
42
42
|
|
|
43
|
+
[tool.ruff.lint.isort]
|
|
44
|
+
no-lines-before = [
|
|
45
|
+
"first-party",
|
|
46
|
+
"local-folder",
|
|
47
|
+
]
|
|
48
|
+
case-sensitive = false
|
|
49
|
+
|
|
43
50
|
[tool.ruff.lint.pydocstyle]
|
|
44
51
|
convention = "google"
|
|
45
52
|
|
|
@@ -89,7 +96,7 @@ pythonPlatform = "Darwin"
|
|
|
89
96
|
|
|
90
97
|
[project]
|
|
91
98
|
name = "Crackerjack"
|
|
92
|
-
version = "0.8.
|
|
99
|
+
version = "0.8.2"
|
|
93
100
|
description = "Crackerjack code style"
|
|
94
101
|
requires-python = ">=3.12"
|
|
95
102
|
readme = "README.md"
|
|
@@ -121,11 +128,11 @@ dependencies = [
|
|
|
121
128
|
"autotyping>=24.3.0",
|
|
122
129
|
"pre-commit>=3.7.1",
|
|
123
130
|
"pytest>=8.2.1",
|
|
124
|
-
"pydantic>=2.7.
|
|
131
|
+
"pydantic>=2.7.2",
|
|
125
132
|
"aiopath>=0.7.7",
|
|
126
|
-
"acb>=0.6.
|
|
133
|
+
"acb>=0.6.2",
|
|
127
134
|
"pdm-bump>=0.9.0",
|
|
128
|
-
"pdm>=2.15.
|
|
135
|
+
"pdm>=2.15.4",
|
|
129
136
|
]
|
|
130
137
|
authors = [
|
|
131
138
|
{ name = "lesleslie", email = "les@wedgwoodwebworks.com" },
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|