crackerjack 0.19.1__py3-none-any.whl → 0.19.3__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.
@@ -1,16 +1,5 @@
1
1
  repos:
2
- - repo: https://github.com/pdm-project/pdm
3
- rev: 2.24.2 # a PDM release exposing the hook
4
- hooks:
5
- - id: pdm-lock-check
6
- - id: pdm-sync
7
- additional_dependencies:
8
- - keyring
9
- - repo: https://github.com/astral-sh/uv-pre-commit
10
- rev: 0.7.9
11
- hooks:
12
- - id: uv-lock
13
- files: ^pyproject\.toml$
2
+ # File structure and format validators - check structure first
14
3
  - repo: https://github.com/pre-commit/pre-commit-hooks
15
4
  rev: v5.0.0
16
5
  hooks:
@@ -24,38 +13,70 @@ repos:
24
13
  name: check-toml
25
14
  - id: check-added-large-files
26
15
  name: check-added-large-files
27
- - repo: https://github.com/Yelp/detect-secrets
28
- rev: v1.5.0
29
- hooks:
30
- - id: detect-secrets
31
- exclude: "pdm.lock"
16
+
32
17
  - repo: https://github.com/abravalheri/validate-pyproject
33
18
  rev: v0.24.1
34
19
  hooks:
35
20
  - id: validate-pyproject
21
+
36
22
  - repo: https://github.com/tox-dev/pyproject-fmt
37
23
  rev: "v2.6.0"
38
24
  hooks:
39
25
  - id: pyproject-fmt
26
+
27
+ # Package management - once structure is valid
28
+ - repo: https://github.com/pdm-project/pdm
29
+ rev: 2.24.2
30
+ hooks:
31
+ - id: pdm-lock-check
32
+ - id: pdm-sync
33
+ additional_dependencies:
34
+ - keyring
35
+
36
+ - repo: https://github.com/astral-sh/uv-pre-commit
37
+ rev: 0.7.10
38
+ hooks:
39
+ - id: uv-lock
40
+ files: ^pyproject\.toml$
41
+
42
+ # Security check - early to prevent credential leaks
43
+ - repo: https://github.com/Yelp/detect-secrets
44
+ rev: v1.5.0
45
+ hooks:
46
+ - id: detect-secrets
47
+ exclude: 'pdm\.lock|uv\.lock|pyproject\.toml|tests/.*|docs/.*|.*\.md'
48
+
49
+ # Code quality tier 1 - quick fixes
50
+ - repo: https://github.com/codespell-project/codespell
51
+ rev: v2.4.1
52
+ hooks:
53
+ - id: codespell
54
+ additional_dependencies:
55
+ - tomli
56
+
40
57
  - repo: https://github.com/astral-sh/ruff-pre-commit
41
58
  rev: v0.11.12
42
59
  hooks:
43
60
  - id: ruff-check
44
61
  - id: ruff-format
62
+
63
+ # Code quality tier 2 - analysis
45
64
  - repo: https://github.com/jendrikseipp/vulture
46
65
  rev: 'v2.14'
47
66
  hooks:
48
67
  - id: vulture
68
+
49
69
  - repo: https://github.com/fredrikaverpil/creosote
50
70
  rev: v4.0.3
51
71
  hooks:
52
72
  - id: creosote
53
- - repo: https://github.com/codespell-project/codespell
54
- rev: v2.4.1
73
+
74
+ - repo: https://github.com/dosisod/refurb
75
+ rev: v2.1.0
55
76
  hooks:
56
- - id: codespell
57
- additional_dependencies:
58
- - tomli
77
+ - id: refurb
78
+
79
+ # Code quality tier 3 - thorough checks
59
80
  - repo: local
60
81
  hooks:
61
82
  - id: autotyping
@@ -72,19 +93,18 @@ repos:
72
93
  additional_dependencies:
73
94
  - autotyping>=24.3.0
74
95
  - libcst>=1.1.0
75
- - repo: https://github.com/dosisod/refurb
76
- rev: v2.1.0
77
- hooks:
78
- - id: refurb
96
+
79
97
  - repo: https://github.com/PyCQA/bandit
80
98
  rev: '1.8.3'
81
99
  hooks:
82
100
  - id: bandit
83
101
  args: ["-c", "pyproject.toml"]
102
+
84
103
  - repo: https://github.com/RobertCraigie/pyright-python
85
104
  rev: v1.1.401
86
105
  hooks:
87
106
  - id: pyright
107
+
88
108
  # - repo: https://github.com/pdoc3/pdoc
89
109
  # rev: master
90
110
  # hooks:
@@ -4,7 +4,7 @@ requires = [ "pdm-backend" ]
4
4
 
5
5
  [project]
6
6
  name = "crackerjack"
7
- version = "0.19.0"
7
+ version = "0.19.2"
8
8
  description = "Crackerjack: code quality toolkit"
9
9
  readme = "README.md"
10
10
  keywords = [
@@ -46,7 +46,7 @@ dependencies = [
46
46
  "pdm-bump>=0.9.12",
47
47
  "pre-commit>=4.2",
48
48
  "pydantic>=2.11.5",
49
- "pytest>=8.3.5",
49
+ "pytest>=8.4",
50
50
  "pytest-asyncio>=1",
51
51
  "pytest-benchmark>=5.1",
52
52
  "pytest-cov>=6.1.1",
@@ -56,7 +56,7 @@ dependencies = [
56
56
  "rich>=14",
57
57
  "tomli-w>=1.2",
58
58
  "typer>=0.16",
59
- "uv>=0.7.9",
59
+ "uv>=0.7.10",
60
60
  ]
61
61
  urls.documentation = "https://github.com/lesleslie/crackerjack"
62
62
  urls.homepage = "https://github.com/lesleslie/crackerjack"
@@ -102,6 +102,10 @@ skip = "*/data/*"
102
102
  quiet-level = 3
103
103
  ignore-words-list = "crate,uptodate,nd"
104
104
 
105
+ [tool.pyproject-fmt]
106
+ column_width = 120
107
+ indent = 2
108
+
105
109
  [tool.pytest.ini_options]
106
110
  # Core pytest configuration
107
111
  asyncio_mode = "auto"
@@ -115,6 +119,7 @@ python_functions = [ "test_*" ]
115
119
  markers = [
116
120
  "unit: marks test as a unit test",
117
121
  "benchmark: mark test as a benchmark (disables parallel execution)",
122
+ "integration: marks test as an integration test",
118
123
  ]
119
124
 
120
125
  # Default timeout settings
@@ -122,7 +127,7 @@ timeout = 60
122
127
  timeout_method = "thread"
123
128
 
124
129
  # Test command options
125
- addopts = "--cov=crackerjack --cov-report=term --cov-fail-under=80"
130
+ addopts = "--cov=crackerjack --cov-report=term --cov-fail-under=42"
126
131
 
127
132
  [tool.pytest.benchmark]
128
133
  disable_gc = true
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: crackerjack
3
- Version: 0.19.1
3
+ Version: 0.19.3
4
4
  Summary: Crackerjack: code quality toolkit
5
5
  Keywords: bandit,black,creosote,mypy,pyright,pytest,refurb,ruff
6
6
  Author-Email: lesleslie <les@wedgwoodwebworks.com>
@@ -27,7 +27,7 @@ Requires-Dist: pdm>=2.24.2
27
27
  Requires-Dist: pdm-bump>=0.9.12
28
28
  Requires-Dist: pre-commit>=4.2
29
29
  Requires-Dist: pydantic>=2.11.5
30
- Requires-Dist: pytest>=8.3.5
30
+ Requires-Dist: pytest>=8.4
31
31
  Requires-Dist: pytest-asyncio>=1
32
32
  Requires-Dist: pytest-benchmark>=5.1
33
33
  Requires-Dist: pytest-cov>=6.1.1
@@ -37,7 +37,7 @@ Requires-Dist: pytest-xdist>=3.7
37
37
  Requires-Dist: rich>=14
38
38
  Requires-Dist: tomli-w>=1.2
39
39
  Requires-Dist: typer>=0.16
40
- Requires-Dist: uv>=0.7.9
40
+ Requires-Dist: uv>=0.7.10
41
41
  Description-Content-Type: text/markdown
42
42
 
43
43
  # Crackerjack: Elevate Your Python Development
@@ -1,11 +1,11 @@
1
- crackerjack-0.19.1.dist-info/METADATA,sha256=euP5RNzd6Ww8Rhi9bvlOKXVLNhe2RHUgEsjgTLMSyYI,20079
2
- crackerjack-0.19.1.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
- crackerjack-0.19.1.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
- crackerjack-0.19.1.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
1
+ crackerjack-0.19.3.dist-info/METADATA,sha256=qiTFmtngR7AxkG8rF3XBgn8LtfKumqfDcVDe-zvrTrE,20078
2
+ crackerjack-0.19.3.dist-info/WHEEL,sha256=tSfRZzRHthuv7vxpI4aehrdN9scLjk-dCJkPLzkHxGg,90
3
+ crackerjack-0.19.3.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
4
+ crackerjack-0.19.3.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
5
5
  crackerjack/.gitignore,sha256=oho3dNx7a7y36_y9AsalCkssU4in0MMsNAANWdc-h1c,153
6
6
  crackerjack/.libcst.codemod.yaml,sha256=a8DlErRAIPV1nE6QlyXPAzTOgkB24_spl2E9hphuf5s,772
7
7
  crackerjack/.pdm.toml,sha256=dZe44HRcuxxCFESGG8SZIjmc-cGzSoyK3Hs6t4NYA8w,23
8
- crackerjack/.pre-commit-config.yaml,sha256=QSc25WQTksQ199Ww21Y3IwlxDFhJR52RD0KNldSQoGs,2621
8
+ crackerjack/.pre-commit-config.yaml,sha256=5xN133ZjeVpOlWRcoOOfu-tdzQvfWfRaZeVLM1B-XNk,2935
9
9
  crackerjack/.pytest_cache/.gitignore,sha256=Ptcxtl0GFQwTji2tsL4Gl1UIiKa0frjEXsya26i46b0,37
10
10
  crackerjack/.pytest_cache/CACHEDIR.TAG,sha256=N9yI75oKvt2-gQU6bdj9-xOvthMEXqHrSlyBWnSjveQ,191
11
11
  crackerjack/.pytest_cache/README.md,sha256=c_1vzN2ALEGaay2YPWwxc7fal1WKxLWJ7ewt_kQ9ua0,302
@@ -20,7 +20,7 @@ crackerjack/.ruff_cache/0.1.7/1790508110482614856,sha256=De7Puq32XF0925xrGehWSKX
20
20
  crackerjack/.ruff_cache/0.1.9/17041001205004563469,sha256=tKP_k8HaHhQJyrHbDfJ93kM7vahjrU8cKQ1f_-OUzZY,248
21
21
  crackerjack/.ruff_cache/0.11.11/18187162184424859798,sha256=rx6CoDveth9JeurkrEgbDB4U0esMrGQ7pwIi5VnKEdo,153
22
22
  crackerjack/.ruff_cache/0.11.12/16869036553936192448,sha256=pYYUCDrYh7fPq8xkFLxvmz9gA55kTuRbMAmbVU4-Eco,153
23
- crackerjack/.ruff_cache/0.11.12/4441409093023629623,sha256=k2RDJ6AR_Loq31innfQ83BOjGivQWIXKd9UqD1kuJIM,153
23
+ crackerjack/.ruff_cache/0.11.12/4441409093023629623,sha256=ptBaS3Ol5ybW4MgC6CVDxJfnNnKNhLDR68Vip-F_7js,153
24
24
  crackerjack/.ruff_cache/0.11.2/4070660268492669020,sha256=FTRTUmvj6nZw_QQBp_WHI-h3_iqRejzL39api-9wTvs,224
25
25
  crackerjack/.ruff_cache/0.11.3/9818742842212983150,sha256=U-4mT__a-OljovvAJvv5M6X7TCMa3dReLXx3kTNGgwU,224
26
26
  crackerjack/.ruff_cache/0.11.4/9818742842212983150,sha256=QF9j6-3MH_d0pDNotdbF2hlqCL66SxN8OLVKR3PZyZU,224
@@ -58,5 +58,5 @@ crackerjack/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw
58
58
  crackerjack/__init__.py,sha256=r9SuEjHUrW99hFWifRk4ofmYPSgf9rblcnzqhdV5bP0,157
59
59
  crackerjack/__main__.py,sha256=MTVu9nxSIkMgUBIlieq561PX-ts1HaNMsFaTWdLUqz0,5561
60
60
  crackerjack/crackerjack.py,sha256=8sHtYljfHJy5mpC6gHAwKw5686yG8050CFzk3Ohprd4,35167
61
- crackerjack/pyproject.toml,sha256=nxyAt3zqH-E7SRijBxKhkh0ZUdjx0yJN3MIDgcjzOCg,4534
62
- crackerjack-0.19.1.dist-info/RECORD,,
61
+ crackerjack/pyproject.toml,sha256=oAHsTA8m1z0H8wTtLVD_csEFWHuE8zxz7OUmV4Bm9B8,4637
62
+ crackerjack-0.19.3.dist-info/RECORD,,