crackerjack 0.8.1__tar.gz → 0.8.3__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.

Files changed (26) hide show
  1. {crackerjack-0.8.1 → crackerjack-0.8.3}/PKG-INFO +4 -4
  2. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.libcst.codemod.yaml +1 -1
  3. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.pre-commit-config.yaml +4 -6
  4. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/__main__.py +0 -1
  5. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/crackerjack.py +3 -0
  6. {crackerjack-0.8.1 → crackerjack-0.8.3/crackerjack}/pyproject.toml +13 -4
  7. {crackerjack-0.8.1/crackerjack → crackerjack-0.8.3}/pyproject.toml +13 -4
  8. {crackerjack-0.8.1 → crackerjack-0.8.3}/LICENSE +0 -0
  9. {crackerjack-0.8.1 → crackerjack-0.8.3}/README.md +0 -0
  10. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.gitignore +0 -0
  11. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/.gitignore +0 -0
  12. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.1.11/3256171999636029978 +0 -0
  13. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.1.14/602324811142551221 +0 -0
  14. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.1.4/10355199064880463147 +0 -0
  15. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.1.6/15140459877605758699 +0 -0
  16. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.1.7/1790508110482614856 +0 -0
  17. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.1.9/17041001205004563469 +0 -0
  18. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.2.0/10047773857155985907 +0 -0
  19. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.2.1/8522267973936635051 +0 -0
  20. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.2.2/18053836298936336950 +0 -0
  21. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.3.0/12548816621480535786 +0 -0
  22. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.3.3/11081883392474770722 +0 -0
  23. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.3.4/676973378459347183 +0 -0
  24. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/0.3.5/16311176246009842383 +0 -0
  25. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/.ruff_cache/CACHEDIR.TAG +0 -0
  26. {crackerjack-0.8.1 → crackerjack-0.8.3}/crackerjack/__init__.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Crackerjack
3
- Version: 0.8.1
3
+ Version: 0.8.3
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.1
32
+ Requires-Dist: pydantic>=2.7.2
33
33
  Requires-Dist: aiopath>=0.7.7
34
- Requires-Dist: acb>=0.6.0
34
+ Requires-Dist: acb>=0.6.2
35
35
  Requires-Dist: pdm-bump>=0.9.0
36
- Requires-Dist: pdm>=2.15.2
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: [ 'black', '-' ]
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.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 libcst.tool codemod autotyping.AutotypeCommand
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>=23.3.0
55
- - libcst>=0.4.9
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:
@@ -3,7 +3,6 @@ import typing as t
3
3
 
4
4
  from click import command, help_option, option
5
5
  from pydantic import BaseModel
6
-
7
6
  from crackerjack import crackerjack_it
8
7
 
9
8
 
@@ -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:
@@ -40,6 +40,15 @@ 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
+
49
+ [tool.ruff.lint.mccabe]
50
+ max-complexity = 11
51
+
43
52
  [tool.ruff.lint.pydocstyle]
44
53
  convention = "google"
45
54
 
@@ -89,7 +98,7 @@ pythonPlatform = "Darwin"
89
98
 
90
99
  [project]
91
100
  name = "Crackerjack"
92
- version = "0.8.1"
101
+ version = "0.8.2"
93
102
  description = "Crackerjack code style"
94
103
  requires-python = ">=3.12"
95
104
  readme = "README.md"
@@ -121,11 +130,11 @@ dependencies = [
121
130
  "autotyping>=24.3.0",
122
131
  "pre-commit>=3.7.1",
123
132
  "pytest>=8.2.1",
124
- "pydantic>=2.7.1",
133
+ "pydantic>=2.7.2",
125
134
  "aiopath>=0.7.7",
126
- "acb>=0.6.0",
135
+ "acb>=0.6.2",
127
136
  "pdm-bump>=0.9.0",
128
- "pdm>=2.15.2",
137
+ "pdm>=2.15.4",
129
138
  ]
130
139
  authors = [
131
140
  { name = "lesleslie", email = "les@wedgwoodwebworks.com" },
@@ -40,6 +40,15 @@ 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
+
49
+ [tool.ruff.lint.mccabe]
50
+ max-complexity = 11
51
+
43
52
  [tool.ruff.lint.pydocstyle]
44
53
  convention = "google"
45
54
 
@@ -89,7 +98,7 @@ pythonPlatform = "Darwin"
89
98
 
90
99
  [project]
91
100
  name = "Crackerjack"
92
- version = "0.8.0"
101
+ version = "0.8.3"
93
102
  description = "Crackerjack code style"
94
103
  requires-python = ">=3.12"
95
104
  readme = "README.md"
@@ -121,11 +130,11 @@ dependencies = [
121
130
  "autotyping>=24.3.0",
122
131
  "pre-commit>=3.7.1",
123
132
  "pytest>=8.2.1",
124
- "pydantic>=2.7.1",
133
+ "pydantic>=2.7.2",
125
134
  "aiopath>=0.7.7",
126
- "acb>=0.6.0",
135
+ "acb>=0.6.2",
127
136
  "pdm-bump>=0.9.0",
128
- "pdm>=2.15.2",
137
+ "pdm>=2.15.4",
129
138
  ]
130
139
  authors = [
131
140
  { name = "lesleslie", email = "les@wedgwoodwebworks.com" },
File without changes
File without changes