crackerjack 0.27.6__tar.gz → 0.27.8__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.27.6 → crackerjack-0.27.8}/PKG-INFO +1 -1
- crackerjack-0.27.8/crackerjack/.pre-commit-config-fast.yaml +69 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/crackerjack/crackerjack.py +1 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/crackerjack/pyproject.toml +1 -1
- {crackerjack-0.27.6 → crackerjack-0.27.8}/pyproject.toml +1 -1
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/test_crackerjack.py +3 -1
- {crackerjack-0.27.6 → crackerjack-0.27.8}/uv.lock +1 -1
- {crackerjack-0.27.6 → crackerjack-0.27.8}/.envrc +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/.github/FUNDING.yml +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/.gitignore +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/.libcst.codemod.yaml +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/.pre-commit-config-ai.yaml +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/.pre-commit-config-fast.yaml +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/.pre-commit-config.yaml +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/CLAUDE.md +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/LICENSE +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/README-AI-AGENT.md +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/README.md +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/RULES.md +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/crackerjack/.gitignore +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/crackerjack/.libcst.codemod.yaml +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/crackerjack/.pdm.toml +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/crackerjack/.pre-commit-config-ai.yaml +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/crackerjack/.pre-commit-config.yaml +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/crackerjack/__init__.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/crackerjack/__main__.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/crackerjack/errors.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/crackerjack/interactive.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/crackerjack/py313.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/TESTING.md +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/__init__.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/conftest.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/data/comments_sample.txt +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/data/docstrings_sample.txt +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/data/expected_comments_sample.txt +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/data/init.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/test_crackerjack_runner.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/test_errors.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/test_interactive.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/test_interactive_run.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/test_main.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/test_multiline_functions.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/test_py313_advanced.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/test_py313_features.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/test_pytest_features.py +0 -0
- {crackerjack-0.27.6 → crackerjack-0.27.8}/tests/test_structured_errors.py +0 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Fast pre-commit hooks for development workflow (target: <5s total)
|
|
2
|
+
repos:
|
|
3
|
+
# Tier 1: Basic structure validation (1.5s)
|
|
4
|
+
- repo: https://github.com/pre-commit/pre-commit-hooks
|
|
5
|
+
rev: v5.0.0
|
|
6
|
+
hooks:
|
|
7
|
+
- id: trailing-whitespace
|
|
8
|
+
name: trailing-whitespace
|
|
9
|
+
stages: [pre-commit]
|
|
10
|
+
- id: end-of-file-fixer
|
|
11
|
+
name: end-of-file-fixer
|
|
12
|
+
stages: [pre-commit]
|
|
13
|
+
- id: check-yaml
|
|
14
|
+
name: check-yaml
|
|
15
|
+
stages: [pre-commit]
|
|
16
|
+
- id: check-toml
|
|
17
|
+
name: check-toml
|
|
18
|
+
stages: [pre-commit]
|
|
19
|
+
- id: check-added-large-files
|
|
20
|
+
name: check-added-large-files
|
|
21
|
+
stages: [pre-commit]
|
|
22
|
+
|
|
23
|
+
- repo: https://github.com/tox-dev/pyproject-fmt
|
|
24
|
+
rev: "v2.6.0"
|
|
25
|
+
hooks:
|
|
26
|
+
- id: pyproject-fmt
|
|
27
|
+
args: ["-n"]
|
|
28
|
+
stages: [pre-commit]
|
|
29
|
+
|
|
30
|
+
# Tier 2: Package management (0.5s)
|
|
31
|
+
- repo: https://github.com/astral-sh/uv-pre-commit
|
|
32
|
+
rev: 0.7.21
|
|
33
|
+
hooks:
|
|
34
|
+
- id: uv-lock
|
|
35
|
+
files: ^pyproject\.toml$
|
|
36
|
+
stages: [pre-commit]
|
|
37
|
+
|
|
38
|
+
# Tier 3: Security (early detection) (1s)
|
|
39
|
+
- repo: https://github.com/Yelp/detect-secrets
|
|
40
|
+
rev: v1.5.0
|
|
41
|
+
hooks:
|
|
42
|
+
- id: detect-secrets
|
|
43
|
+
exclude: 'uv\.lock|pyproject\.toml|tests/.*|docs/.*|.*\.md'
|
|
44
|
+
stages: [pre-commit]
|
|
45
|
+
|
|
46
|
+
# Tier 4: Quick formatting (1.5s)
|
|
47
|
+
- repo: https://github.com/codespell-project/codespell
|
|
48
|
+
rev: v2.4.1
|
|
49
|
+
hooks:
|
|
50
|
+
- id: codespell
|
|
51
|
+
additional_dependencies:
|
|
52
|
+
- tomli
|
|
53
|
+
stages: [pre-commit]
|
|
54
|
+
|
|
55
|
+
- repo: https://github.com/astral-sh/ruff-pre-commit
|
|
56
|
+
rev: v0.12.3
|
|
57
|
+
hooks:
|
|
58
|
+
- id: ruff-check
|
|
59
|
+
stages: [pre-commit]
|
|
60
|
+
- id: ruff-format
|
|
61
|
+
stages: [pre-commit]
|
|
62
|
+
|
|
63
|
+
- repo: https://github.com/executablebooks/mdformat
|
|
64
|
+
rev: 0.7.22
|
|
65
|
+
hooks:
|
|
66
|
+
- id: mdformat
|
|
67
|
+
additional_dependencies:
|
|
68
|
+
- mdformat-ruff
|
|
69
|
+
stages: [pre-commit]
|
|
@@ -868,7 +868,9 @@ class TestCrackerjackProcess:
|
|
|
868
868
|
".",
|
|
869
869
|
]
|
|
870
870
|
)
|
|
871
|
-
mock_cj_execute.assert_any_call(
|
|
871
|
+
mock_cj_execute.assert_any_call(
|
|
872
|
+
["git", "push", "origin", "main", "--no-verify"]
|
|
873
|
+
)
|
|
872
874
|
|
|
873
875
|
def test_process_with_uv_sync_failure(
|
|
874
876
|
self,
|
|
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
|
|
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
|
|
File without changes
|