pre-commit-crocodile 6.2.0__tar.gz → 7.0.0__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.
Files changed (110) hide show
  1. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/.gitlab-ci.yml +2 -6
  2. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/.pre-commit-config.yaml +1 -0
  3. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/CHANGELOG.md +58 -0
  4. {pre_commit_crocodile-6.2.0/pre_commit_crocodile.egg-info → pre_commit_crocodile-7.0.0}/PKG-INFO +40 -34
  5. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/README.md +37 -31
  6. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/containers/commits/Dockerfile +4 -2
  7. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/containers/rehost/images.txt +1 -1
  8. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/commitizen.md +1 -1
  9. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/commits.md +1 -1
  10. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/components.md +1 -1
  11. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/hooks.md +1 -1
  12. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/pre-commit.md +1 -1
  13. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/settings.md +1 -1
  14. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/mkdocs.yml +1 -1
  15. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0/pre_commit_crocodile.egg-info}/PKG-INFO +40 -34
  16. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/pre_commit_crocodile.egg-info/SOURCES.txt +1 -0
  17. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/requirements/commits.txt +2 -0
  18. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/requirements/pages.txt +1 -1
  19. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/setup.py +3 -3
  20. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/assets/.pre-commit-config.yaml +1 -0
  21. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/assets/commits.yml +8 -4
  22. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/cli/entrypoint.py +66 -31
  23. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/cli/main.py +42 -2
  24. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/features/commitizen.py +9 -6
  25. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/features/gcil.py +1 -0
  26. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/features/precommit.py +50 -12
  27. pre_commit_crocodile-7.0.0/src/features/prek.py +18 -0
  28. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/package/bundle.py +2 -2
  29. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/package/version.py +3 -1
  30. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/prints/colors.py +14 -0
  31. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/templates/commits.yml +8 -4
  32. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/.coveragerc +0 -0
  33. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/.cz.yaml +0 -0
  34. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/.gitattributes +0 -0
  35. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/.gitignore +0 -0
  36. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/.gitmodules +0 -0
  37. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/.markdownlint.json +0 -0
  38. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/.pre-commit-hooks.yaml +0 -0
  39. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/.style.yapf +0 -0
  40. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/.vscode/extensions.json +0 -0
  41. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/.vscode/settings.json +0 -0
  42. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/LICENSE +0 -0
  43. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/config/cliff.toml +0 -0
  44. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/containers/build/Dockerfile +0 -0
  45. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/containers/codestyle/Dockerfile +0 -0
  46. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/containers/deploy/Dockerfile +0 -0
  47. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/containers/pages/Dockerfile +0 -0
  48. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/containers/preview/Dockerfile +0 -0
  49. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/containers/test-coverage-linux/Dockerfile +0 -0
  50. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/containers/test-coverage-windows/Dockerfile +0 -0
  51. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/containers/test-linux/Dockerfile +0 -0
  52. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/.pages.in +0 -0
  53. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/assets/images/favicon.png +0 -0
  54. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/assets/scripts/mkdocs-exporter.js +0 -0
  55. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/assets/stylesheets/custom.css +0 -0
  56. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/assets/stylesheets/pdf.scss +0 -0
  57. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/prepare.sh +0 -0
  58. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/preview.py +0 -0
  59. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/preview.svg +0 -0
  60. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/robots.txt +0 -0
  61. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/template.svg +0 -0
  62. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/templates/covers/back.html.j2 +0 -0
  63. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/docs/templates/covers/front.html.j2 +0 -0
  64. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/mypy.ini +0 -0
  65. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/pre_commit_crocodile.egg-info/dependency_links.txt +0 -0
  66. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/pre_commit_crocodile.egg-info/entry_points.txt +0 -0
  67. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/pre_commit_crocodile.egg-info/requires.txt +0 -0
  68. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/pre_commit_crocodile.egg-info/top_level.txt +0 -0
  69. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/requirements/build.txt +0 -0
  70. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/requirements/coverage.txt +0 -0
  71. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/requirements/deploy.txt +0 -0
  72. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/requirements/docs.txt +0 -0
  73. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/requirements/quality.txt +0 -0
  74. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/requirements/runtime.txt +0 -0
  75. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/requirements/tests.txt +0 -0
  76. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/setup.cfg +0 -0
  77. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/sonar-project.properties +0 -0
  78. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/__init__.py +0 -0
  79. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/__main__.py +0 -0
  80. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/assets/.cz.yaml +0 -0
  81. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/assets/__init__.py +0 -0
  82. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/cli/__init__.py +0 -0
  83. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/features/__init__.py +0 -0
  84. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/features/argcomplete.py +0 -0
  85. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/features/git.py +0 -0
  86. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/features/radiandevcore.py +0 -0
  87. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/features/readme.py +0 -0
  88. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/features/templates.py +0 -0
  89. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/hooks/__init__.py +0 -0
  90. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/hooks/check_commitizen_branch.py +0 -0
  91. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/hooks/check_yaml_ruamel_pure.py +0 -0
  92. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/hooks/configurations.py +0 -0
  93. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/hooks/prepare_commit_message.py +0 -0
  94. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/package/__init__.py +0 -0
  95. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/package/settings.py +0 -0
  96. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/package/updates.py +0 -0
  97. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/prints/__init__.py +0 -0
  98. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/prints/boxes.py +0 -0
  99. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/system/__init__.py +0 -0
  100. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/system/commands.py +0 -0
  101. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/system/platform.py +0 -0
  102. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/types/__init__.py +0 -0
  103. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/types/environments.py +0 -0
  104. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/src/types/strings.py +0 -0
  105. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/tests/arguments/test.sh +0 -0
  106. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/tests/colors/test.sh +0 -0
  107. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/tests/macos/test.sh +0 -0
  108. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/tests/settings/test.sh +0 -0
  109. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/tests/versions/test.sh +0 -0
  110. {pre_commit_crocodile-6.2.0 → pre_commit_crocodile-7.0.0}/tests/windows/test.sh +0 -0
@@ -2,6 +2,7 @@ include:
2
2
  - component: gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commits@$CI_COMMIT_SHA
3
3
  inputs:
4
4
  stage: prepare
5
+ pre_commit: prek
5
6
  - project: RadianDevCore/gitlab-ci/components
6
7
  file: /templates/clean.yml
7
8
  ref: main
@@ -126,6 +127,7 @@ variables:
126
127
 
127
128
  .local:
128
129
  include:
130
+ 'gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commits@$CI_COMMIT_SHA': 'templates/commits.yml'
129
131
  'RadianDevCore/gitlab-ci/components': '.gitlab-ci.d'
130
132
  no_regex: true
131
133
  version: 12.0
@@ -476,18 +478,12 @@ py3.9:
476
478
  - .test:template
477
479
  - .test:rules
478
480
  image: registry.gitlab.com/radiandevcore/tools/pre-commit-crocodile/pre-commit-crocodile:test-oldest
479
- before_script:
480
- # Inherit before_script
481
- - !reference ['.test:template', before_script]
482
481
 
483
482
  py3.13:
484
483
  extends:
485
484
  - .test:template
486
485
  - .test:rules
487
486
  image: registry.gitlab.com/radiandevcore/tools/pre-commit-crocodile/pre-commit-crocodile:test-latest
488
- before_script:
489
- # Inherit before_script
490
- - !reference ['.test:template', before_script]
491
487
 
492
488
  quality:coverage:
493
489
  needs:
@@ -10,6 +10,7 @@ default_stages:
10
10
  - pre-push
11
11
  - prepare-commit-msg
12
12
  minimum_pre_commit_version: 3.8.0
13
+ minimum_prek_version: 0.0.25
13
14
 
14
15
  # pre-commit exclusions
15
16
  exclude: >
@@ -1,5 +1,63 @@
1
1
  # Changelog
2
2
 
3
+ <a name="7.0.0"></a>
4
+ ## [7.0.0](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/compare/6.2.1...7.0.0) (2025-08-14)
5
+
6
+ ### ✨ Features
7
+
8
+ - **cli, features:** implement 'prek' engine 'pre-commit' alternative ([e369d7e](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/e369d7e1d53ccde73be8f8e3e3236e44664a3b0e))
9
+ - **features:** add support for multiple 'PACKAGES' dependencies ([91d1b0e](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/91d1b0ef5d8aab77d2229db9b90aa6018eeab2b4))
10
+ - **main:** implement '--set-engine' to set 'pre-commit' or 'prek' ([1db9afa](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/1db9afafc0a58f8b33640ab3a7fd79bdb1a88f4b))
11
+ - **main:** add 3 seconds warning if engine setting is not done ([305a999](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/305a999595e789e648529c25486837598b55bcf8))
12
+ - **pre-commit:** migrate 'minimum_prek_version' to 0.0.25 ([db06b79](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/db06b7964ff78c11fb67801886e5cfdc3f921e9c))
13
+ - **precommit:** add support for 'prek run' output parsing ([ac36ae3](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/ac36ae31c2d62cd415bcfa0c34e3c858eefcd24e))
14
+ - **src:** isolate 'pre-commit' and 'commitizen' titles to constants ([16ab56f](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/16ab56ffabb2d373446f7c3eb11270cb7dfb9f77))
15
+
16
+ ### 🐛 Bug Fixes
17
+
18
+ - **main:** show engine warning only without a critical result ([f111b40](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/f111b407e4837c669c1386b7590ff2b354daf2bd))
19
+ - **main, colors:** use '‣' symbol only in UTF-8 terminals ([bdfce45](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/bdfce4558309faf01db57f2e0b9655474ea30700))
20
+ - **version:** enforce against digit only revision with 'x.y.z[-N-gSHA]' ([b9f5983](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/b9f59830e34949375199f9fe09c5c17f992888c7))
21
+
22
+ ### 📚 Documentation
23
+
24
+ - **readme:** document 'prek' and 'uv' as being use ([747ad94](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/747ad94ce4fb1ace84bd8adc867d3089e6635438))
25
+ - **readme, docs, setup, bundle:** improve description with 'prek' ([b0d4d6e](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/b0d4d6ee4cdf327e8afa5481383fd6c7b3851700))
26
+
27
+ ### 🚀 CI
28
+
29
+ - **commits:** avoid 'install --install-hooks' upon local jobs ([c4aa944](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/c4aa9440adb8ec4f112070982bc84c2afcb40375))
30
+ - **gitlab-ci:** bind 'commits' job locally for validation tests ([d243212](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/d24321270f908a4e4e37fbdc47c549232e030887))
31
+
32
+ ### 📦 Build
33
+
34
+ - **commits:** implement 'prek' optional 'pre-commit' engine ([3c5f33d](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/3c5f33da6eeb56b69634fb6ab4af9bdd5fe6ea44))
35
+ - **commits:** optimize Rust compiler caches out of the image ([e132755](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/e13275584218dab883c027aae73f3d2532193c3a))
36
+ - **containers/rehost:** revert to Debian 12 'python:3.13-slim-bookworm' ([287673a](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/287673a731e32dd5f8fd62a6d16c7eebf03ccce6))
37
+ - **requirements:** upgrade to 'playwright' 1.54.0 ([bd5fa6d](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/bd5fa6d8ac781451bb9ac7c6a49744d58e3e6722))
38
+ - **requirements:** install 'prek' 0.0.25 and 'uv' 0.8.10 ([1199962](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/1199962a071c5dcb87ad6bf8eed338d1d1eadb60))
39
+
40
+
41
+ <a name="6.2.1"></a>
42
+ ## [6.2.1](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/compare/6.2.0...6.2.1) (2025-08-13)
43
+
44
+ ### ✨ Features
45
+
46
+ - **entrypoint:** create missing 'README.md' if '--badges' used ([1352f4b](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/1352f4b83a35ffa924284d0eeed8017ad19694bf))
47
+
48
+ ### 🐛 Bug Fixes
49
+
50
+ - **entrypoint:** avoid 'git commit' if no differences added ([6174883](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/6174883754275cb7bdd7377a3bb8a70551118238))
51
+ - **entrypoint:** add missing '--badge' header and output flushes ([8fa468b](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/8fa468b983fe9ec4b8d0f9c38d01dfa78bf3e6de))
52
+ - **entrypoint:** re-inject partially missing badges properly ([1117ea3](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/1117ea3f0a2d27f96c92dc3f83671c439f80fb02))
53
+ - **entrypoint:** resolve unreliable 'README.md' badges line endings ([a46036e](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/a46036ed7754c0bc3dabbdfde4de68c47ffb28c4))
54
+ - **main:** avoid '--configure' if '--commit' is used with '--badges' ([f7ee29a](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/f7ee29aa2191518864b6f16d3bc75c42cee95956))
55
+
56
+ ### 🚀 CI
57
+
58
+ - **gitlab-ci:** remove redundant 'before_script:' references ([41fae52](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/commit/41fae52f645f11983637600f20c848f6d28a19fa))
59
+
60
+
3
61
  <a name="6.2.0"></a>
4
62
  ## [6.2.0](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/compare/6.1.0...6.2.0) (2025-08-11)
5
63
 
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pre-commit-crocodile
3
- Version: 6.2.0
4
- Summary: Git hooks intended for developers using pre-commit
3
+ Version: 7.0.0
4
+ Summary: Git hooks manager intended for developers using pre-commit, prek and commitizen
5
5
  Home-page: https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile
6
6
  Author: Adrian DC
7
7
  Author-email: radian.dc@gmail.com
@@ -11,7 +11,7 @@ Project-URL: Changelog, https://gitlab.com/RadianDevCore/tools/pre-commit-crocod
11
11
  Project-URL: Documentation, https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile#pre-commit-crocodile
12
12
  Project-URL: Source, https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile
13
13
  Project-URL: Statistics, https://pypistats.org/packages/pre-commit-crocodile
14
- Keywords: git pre-commit hooks
14
+ Keywords: git pre-commit hooks prek commitizen
15
15
  Classifier: Environment :: Console
16
16
  Classifier: Intended Audience :: Developers
17
17
  Classifier: License :: OSI Approved :: Apache Software License
@@ -70,7 +70,7 @@ Dynamic: summary
70
70
  [![pre-commit-crocodile](https://img.shields.io/badge/pre--commit--crocodile-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile)
71
71
  [![guidelines](https://img.shields.io/badge/radiandevcore-guidelines-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/wiki/guidelines)
72
72
 
73
- Git hooks intended for developers using [pre-commit](https://pre-commit.com/) and [commitizen](https://commitizen-tools.github.io/commitizen/)
73
+ Git hooks manager intended for developers using [pre-commit](https://pre-commit.com/), [prek](https://github.com/j178/prek) and [commitizen](https://commitizen-tools.github.io/commitizen/).
74
74
 
75
75
  **Documentation:** <https://radiandevcore.gitlab.io/tools/pre-commit-crocodile>
76
76
  **Package:** <https://pypi.org/project/pre-commit-crocodile/>
@@ -82,6 +82,7 @@ Git hooks intended for developers using [pre-commit](https://pre-commit.com/) an
82
82
  **`pre-commit-crocodile` uses the following features:**
83
83
 
84
84
  - **CLI - [pre-commit](https://pre-commit.com/):** Automated Git hooks before commits and upon pushes
85
+ - **CLI - [prek](https://github.com/j178/prek):** Better `pre-commit`, re-engineered in Rust
85
86
  - **CLI - [commitizen](https://commitizen-tools.github.io/commitizen/):** Commits tools and validation based upon [conventional commits](https://www.conventionalcommits.org/en/)
86
87
  - **Hooks - [pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks):** Common `pre-commit` hooks useful for developers
87
88
  - **Hooks - `prepare-commit-msg`:** Prepare commit message automatically based on changes
@@ -90,7 +91,7 @@ Git hooks intended for developers using [pre-commit](https://pre-commit.com/) an
90
91
 
91
92
  ## Preview
92
93
 
93
- ![preview.svg](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/raw/6.2.0/docs/preview.svg)
94
+ ![preview.svg](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/raw/7.0.0/docs/preview.svg)
94
95
 
95
96
  ---
96
97
 
@@ -104,43 +105,46 @@ Git hooks intended for developers using [pre-commit](https://pre-commit.com/) an
104
105
  ```yaml
105
106
  usage: pre-commit-crocodile [-h] [--version] [--no-color] [--update-check] [--settings] [--set GROUP KEY VAL]
106
107
  [-l | -i | -c | -b | -e | -d | -a | -C | -r] [--config FOLDER | -D] [--commit]
107
- [--components | --no-components] [--offline] [--stage STAGE] [--]
108
+ [--components | --no-components] [--offline] [--stage STAGE] [--set-engine [ENGINE]] [--]
108
109
 
109
- pre-commit-crocodile: Git hooks intended for developers using pre-commit
110
+ pre-commit-crocodile: Git hooks manager intended for developers using pre-commit, prek and commitizen
110
111
 
111
112
  internal arguments:
112
- -h, --help # Show this help message
113
- --version # Show the current version
114
- --no-color # Disable colors outputs with 'NO_COLOR=1'
115
- # (or default settings: [themes] > no_color)
116
- --update-check # Check for newer package updates
117
- --settings # Show the current settings path and contents
118
- --set GROUP KEY VAL # Set settings specific 'VAL' value to [GROUP] > KEY
119
- # or unset by using 'UNSET' as 'VAL'
113
+ -h, --help # Show this help message
114
+ --version # Show the current version
115
+ --no-color # Disable colors outputs with 'NO_COLOR=1'
116
+ # (or default settings: [themes] > no_color)
117
+ --update-check # Check for newer package updates
118
+ --settings # Show the current settings path and contents
119
+ --set GROUP KEY VAL # Set settings specific 'VAL' value to [GROUP] > KEY
120
+ # or unset by using 'UNSET' as 'VAL'
120
121
 
121
122
  modes arguments:
122
- -l, --list # List Git hooks installed in sources
123
- -i, --install # Install dependencies for pre-commit hooks
124
- -c, --configure # Update sources with hooks configurations
125
- -b, --badges # Update documentation with badges configurations
126
- -e, --enable # Enable pre-commit hooks
127
- -d, --disable # Disable pre-commit hooks
128
- -a, --autoupdate # Autoupdate pre-commit hooks
129
- -C, --clean # Clean pre-commit cached hooks
130
- -r, --run # Run pre-commit hooks
123
+ -l, --list # List Git hooks installed in sources
124
+ -i, --install # Install dependencies for pre-commit hooks
125
+ -c, --configure # Update sources with hooks configurations
126
+ -b, --badges # Update documentation with badges configurations
127
+ -e, --enable # Enable pre-commit hooks
128
+ -d, --disable # Disable pre-commit hooks
129
+ -a, --autoupdate # Autoupdate pre-commit hooks
130
+ -C, --clean # Clean pre-commit cached hooks
131
+ -r, --run # Run pre-commit hooks
131
132
 
132
133
  configurations arguments:
133
- --config FOLDER # Use configurations from a specific folder
134
- -D, --default # Use global default configurations instead of sources
135
- --commit # Commit configurations changes automatically (implies --configure)
136
- --components # Import components from GitLab with 'include: component:'
137
- --no-components # Import components templates locally instead of 'include: component:'
138
- --offline # Use offline mode to disable configurations autoupdate
139
- --stage STAGE # Run a specific pre-commit stage with --run
140
- # (use 'list' to list supported stages)
134
+ --config FOLDER # Use configurations from a specific folder
135
+ -D, --default # Use global default configurations instead of sources
136
+ --commit # Commit configurations changes automatically (implies --configure)
137
+ --components # Import components from GitLab with 'include: component:'
138
+ --no-components # Import components templates locally instead of 'include: component:'
139
+ --offline # Use offline mode to disable configurations autoupdate
140
+ --stage STAGE # Run a specific pre-commit stage with --run
141
+ # (use 'list' to list supported stages)
142
+
143
+ settings arguments:
144
+ --set-engine [ENGINE] # Set pre-commit engine to use (pre-commit, prek, default: pre-commit)
141
145
 
142
146
  positional arguments:
143
- -- # Positional arguments separator (recommended)
147
+ -- # Positional arguments separator (recommended)
144
148
  ```
145
149
 
146
150
  <!-- readme-help-stop -->
@@ -248,9 +252,11 @@ pre-commit-crocodile --clean
248
252
  - [colored](https://pypi.org/project/colored/): Terminal colors and styles
249
253
  - [commitizen](https://pypi.org/project/commitizen/): Simple commit conventions for internet citizens
250
254
  - [pre-commit](https://pre-commit.com/): A framework for managing and maintaining pre-commit hooks
251
- - [pre-commit-crocodile](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile): Git hooks intended for developers using pre-commit
255
+ - [pre-commit-crocodile](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile): Git hooks manager intended for developers using pre-commit, prek and commitizen
256
+ - [prek](https://github.com/j178/prek): Better `pre-commit`, re-engineered in Rust
252
257
  - [setuptools](https://pypi.org/project/setuptools/): Build and manage Python packages
253
258
  - [update-checker](https://pypi.org/project/update-checker/): Check for package updates on PyPI
259
+ - [uv](https://github.com/astral-sh/uv): An extremely fast Python package and project manager, written in Rust.
254
260
 
255
261
  ---
256
262
 
@@ -20,7 +20,7 @@
20
20
  [![pre-commit-crocodile](https://img.shields.io/badge/pre--commit--crocodile-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile)
21
21
  [![guidelines](https://img.shields.io/badge/radiandevcore-guidelines-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/wiki/guidelines)
22
22
 
23
- Git hooks intended for developers using [pre-commit](https://pre-commit.com/) and [commitizen](https://commitizen-tools.github.io/commitizen/)
23
+ Git hooks manager intended for developers using [pre-commit](https://pre-commit.com/), [prek](https://github.com/j178/prek) and [commitizen](https://commitizen-tools.github.io/commitizen/).
24
24
 
25
25
  **Documentation:** <https://radiandevcore.gitlab.io/tools/pre-commit-crocodile>
26
26
  **Package:** <https://pypi.org/project/pre-commit-crocodile/>
@@ -32,6 +32,7 @@ Git hooks intended for developers using [pre-commit](https://pre-commit.com/) an
32
32
  **`pre-commit-crocodile` uses the following features:**
33
33
 
34
34
  - **CLI - [pre-commit](https://pre-commit.com/):** Automated Git hooks before commits and upon pushes
35
+ - **CLI - [prek](https://github.com/j178/prek):** Better `pre-commit`, re-engineered in Rust
35
36
  - **CLI - [commitizen](https://commitizen-tools.github.io/commitizen/):** Commits tools and validation based upon [conventional commits](https://www.conventionalcommits.org/en/)
36
37
  - **Hooks - [pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks):** Common `pre-commit` hooks useful for developers
37
38
  - **Hooks - `prepare-commit-msg`:** Prepare commit message automatically based on changes
@@ -40,7 +41,7 @@ Git hooks intended for developers using [pre-commit](https://pre-commit.com/) an
40
41
 
41
42
  ## Preview
42
43
 
43
- ![preview.svg](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/raw/6.2.0/docs/preview.svg)
44
+ ![preview.svg](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/raw/7.0.0/docs/preview.svg)
44
45
 
45
46
  ---
46
47
 
@@ -54,43 +55,46 @@ Git hooks intended for developers using [pre-commit](https://pre-commit.com/) an
54
55
  ```yaml
55
56
  usage: pre-commit-crocodile [-h] [--version] [--no-color] [--update-check] [--settings] [--set GROUP KEY VAL]
56
57
  [-l | -i | -c | -b | -e | -d | -a | -C | -r] [--config FOLDER | -D] [--commit]
57
- [--components | --no-components] [--offline] [--stage STAGE] [--]
58
+ [--components | --no-components] [--offline] [--stage STAGE] [--set-engine [ENGINE]] [--]
58
59
 
59
- pre-commit-crocodile: Git hooks intended for developers using pre-commit
60
+ pre-commit-crocodile: Git hooks manager intended for developers using pre-commit, prek and commitizen
60
61
 
61
62
  internal arguments:
62
- -h, --help # Show this help message
63
- --version # Show the current version
64
- --no-color # Disable colors outputs with 'NO_COLOR=1'
65
- # (or default settings: [themes] > no_color)
66
- --update-check # Check for newer package updates
67
- --settings # Show the current settings path and contents
68
- --set GROUP KEY VAL # Set settings specific 'VAL' value to [GROUP] > KEY
69
- # or unset by using 'UNSET' as 'VAL'
63
+ -h, --help # Show this help message
64
+ --version # Show the current version
65
+ --no-color # Disable colors outputs with 'NO_COLOR=1'
66
+ # (or default settings: [themes] > no_color)
67
+ --update-check # Check for newer package updates
68
+ --settings # Show the current settings path and contents
69
+ --set GROUP KEY VAL # Set settings specific 'VAL' value to [GROUP] > KEY
70
+ # or unset by using 'UNSET' as 'VAL'
70
71
 
71
72
  modes arguments:
72
- -l, --list # List Git hooks installed in sources
73
- -i, --install # Install dependencies for pre-commit hooks
74
- -c, --configure # Update sources with hooks configurations
75
- -b, --badges # Update documentation with badges configurations
76
- -e, --enable # Enable pre-commit hooks
77
- -d, --disable # Disable pre-commit hooks
78
- -a, --autoupdate # Autoupdate pre-commit hooks
79
- -C, --clean # Clean pre-commit cached hooks
80
- -r, --run # Run pre-commit hooks
73
+ -l, --list # List Git hooks installed in sources
74
+ -i, --install # Install dependencies for pre-commit hooks
75
+ -c, --configure # Update sources with hooks configurations
76
+ -b, --badges # Update documentation with badges configurations
77
+ -e, --enable # Enable pre-commit hooks
78
+ -d, --disable # Disable pre-commit hooks
79
+ -a, --autoupdate # Autoupdate pre-commit hooks
80
+ -C, --clean # Clean pre-commit cached hooks
81
+ -r, --run # Run pre-commit hooks
81
82
 
82
83
  configurations arguments:
83
- --config FOLDER # Use configurations from a specific folder
84
- -D, --default # Use global default configurations instead of sources
85
- --commit # Commit configurations changes automatically (implies --configure)
86
- --components # Import components from GitLab with 'include: component:'
87
- --no-components # Import components templates locally instead of 'include: component:'
88
- --offline # Use offline mode to disable configurations autoupdate
89
- --stage STAGE # Run a specific pre-commit stage with --run
90
- # (use 'list' to list supported stages)
84
+ --config FOLDER # Use configurations from a specific folder
85
+ -D, --default # Use global default configurations instead of sources
86
+ --commit # Commit configurations changes automatically (implies --configure)
87
+ --components # Import components from GitLab with 'include: component:'
88
+ --no-components # Import components templates locally instead of 'include: component:'
89
+ --offline # Use offline mode to disable configurations autoupdate
90
+ --stage STAGE # Run a specific pre-commit stage with --run
91
+ # (use 'list' to list supported stages)
92
+
93
+ settings arguments:
94
+ --set-engine [ENGINE] # Set pre-commit engine to use (pre-commit, prek, default: pre-commit)
91
95
 
92
96
  positional arguments:
93
- -- # Positional arguments separator (recommended)
97
+ -- # Positional arguments separator (recommended)
94
98
  ```
95
99
 
96
100
  <!-- readme-help-stop -->
@@ -198,9 +202,11 @@ pre-commit-crocodile --clean
198
202
  - [colored](https://pypi.org/project/colored/): Terminal colors and styles
199
203
  - [commitizen](https://pypi.org/project/commitizen/): Simple commit conventions for internet citizens
200
204
  - [pre-commit](https://pre-commit.com/): A framework for managing and maintaining pre-commit hooks
201
- - [pre-commit-crocodile](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile): Git hooks intended for developers using pre-commit
205
+ - [pre-commit-crocodile](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile): Git hooks manager intended for developers using pre-commit, prek and commitizen
206
+ - [prek](https://github.com/j178/prek): Better `pre-commit`, re-engineered in Rust
202
207
  - [setuptools](https://pypi.org/project/setuptools/): Build and manage Python packages
203
208
  - [update-checker](https://pypi.org/project/update-checker/): Check for package updates on PyPI
209
+ - [uv](https://github.com/astral-sh/uv): An extremely fast Python package and project manager, written in Rust.
204
210
 
205
211
  ---
206
212
 
@@ -12,10 +12,12 @@ RUN apk add -q --no-cache \
12
12
 
13
13
  # Install requirements
14
14
  COPY --from='requirements' ./commits.txt /tmp/
15
- RUN export PIP_DISABLE_PIP_VERSION_CHECK=1 \
15
+ RUN --mount=type=cache,target=/root/.cache \
16
+ --mount=type=cache,target=/root/.rustup \
17
+ export PIP_DISABLE_PIP_VERSION_CHECK=1 \
16
18
  && pip3 install -q -r /tmp/commits.txt --no-cache-dir --upgrade \
17
19
  && rm -f /tmp/commits.txt
18
20
 
19
21
  # Create image version
20
- ARG IMAGE_VERSION=5
22
+ ARG IMAGE_VERSION=6
21
23
  RUN echo -n "${IMAGE_VERSION}" >/VERSION
@@ -1,6 +1,6 @@
1
1
  python:3.9
2
2
  python:3.13
3
3
  python:3.13-alpine
4
- python:3.13-slim
4
+ python:3.13-slim-bookworm|python:3.13-slim
5
5
  sonarsource/sonar-scanner-cli:latest
6
6
  tobix/pywine:3.10
@@ -19,7 +19,7 @@
19
19
  [![gcil](https://img.shields.io/badge/gcil-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/gcil)
20
20
  [![pre-commit-crocodile](https://img.shields.io/badge/pre--commit--crocodile-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile)
21
21
 
22
- Git hooks intended for developers using [pre-commit](https://pre-commit.com/) and [commitizen](https://commitizen-tools.github.io/commitizen/).
22
+ Git hooks manager intended for developers using [pre-commit](https://pre-commit.com/), [prek](https://github.com/j178/prek) and [commitizen](https://commitizen-tools.github.io/commitizen/).
23
23
 
24
24
  ---
25
25
 
@@ -19,7 +19,7 @@
19
19
  [![gcil](https://img.shields.io/badge/gcil-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/gcil)
20
20
  [![pre-commit-crocodile](https://img.shields.io/badge/pre--commit--crocodile-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile)
21
21
 
22
- Git hooks intended for developers using [pre-commit](https://pre-commit.com/) and [commitizen](https://commitizen-tools.github.io/commitizen/).
22
+ Git hooks manager intended for developers using [pre-commit](https://pre-commit.com/), [prek](https://github.com/j178/prek) and [commitizen](https://commitizen-tools.github.io/commitizen/).
23
23
 
24
24
  ---
25
25
 
@@ -19,7 +19,7 @@
19
19
  [![gcil](https://img.shields.io/badge/gcil-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/gcil)
20
20
  [![pre-commit-crocodile](https://img.shields.io/badge/pre--commit--crocodile-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile)
21
21
 
22
- Git hooks intended for developers using [pre-commit](https://pre-commit.com/) and [commitizen](https://commitizen-tools.github.io/commitizen/).
22
+ Git hooks manager intended for developers using [pre-commit](https://pre-commit.com/), [prek](https://github.com/j178/prek) and [commitizen](https://commitizen-tools.github.io/commitizen/).
23
23
 
24
24
  ---
25
25
 
@@ -19,7 +19,7 @@
19
19
  [![gcil](https://img.shields.io/badge/gcil-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/gcil)
20
20
  [![pre-commit-crocodile](https://img.shields.io/badge/pre--commit--crocodile-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile)
21
21
 
22
- Git hooks intended for developers using [pre-commit](https://pre-commit.com/) and [commitizen](https://commitizen-tools.github.io/commitizen/).
22
+ Git hooks manager intended for developers using [pre-commit](https://pre-commit.com/), [prek](https://github.com/j178/prek) and [commitizen](https://commitizen-tools.github.io/commitizen/).
23
23
 
24
24
  ---
25
25
 
@@ -19,7 +19,7 @@
19
19
  [![gcil](https://img.shields.io/badge/gcil-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/gcil)
20
20
  [![pre-commit-crocodile](https://img.shields.io/badge/pre--commit--crocodile-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile)
21
21
 
22
- Git hooks intended for developers using [pre-commit](https://pre-commit.com/) and [commitizen](https://commitizen-tools.github.io/commitizen/).
22
+ Git hooks manager intended for developers using [pre-commit](https://pre-commit.com/), [prek](https://github.com/j178/prek) and [commitizen](https://commitizen-tools.github.io/commitizen/).
23
23
 
24
24
  ---
25
25
 
@@ -20,7 +20,7 @@
20
20
  [![gcil](https://img.shields.io/badge/gcil-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/gcil)
21
21
  [![pre-commit-crocodile](https://img.shields.io/badge/pre--commit--crocodile-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile)
22
22
 
23
- Git hooks intended for developers using [pre-commit](https://pre-commit.com/) and [commitizen](https://commitizen-tools.github.io/commitizen/).
23
+ Git hooks manager intended for developers using [pre-commit](https://pre-commit.com/), [prek](https://github.com/j178/prek) and [commitizen](https://commitizen-tools.github.io/commitizen/).
24
24
 
25
25
  ---
26
26
 
@@ -7,7 +7,7 @@ site_dir: public
7
7
 
8
8
  # Project information
9
9
  site_author: Adrian DC
10
- site_description: Git hooks intended for developers using pre-commit
10
+ site_description: Git hooks manager intended for developers using pre-commit, prek and commitizen
11
11
 
12
12
  # Project repository
13
13
  repo_name: RadianDevCore/tools
@@ -1,7 +1,7 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pre-commit-crocodile
3
- Version: 6.2.0
4
- Summary: Git hooks intended for developers using pre-commit
3
+ Version: 7.0.0
4
+ Summary: Git hooks manager intended for developers using pre-commit, prek and commitizen
5
5
  Home-page: https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile
6
6
  Author: Adrian DC
7
7
  Author-email: radian.dc@gmail.com
@@ -11,7 +11,7 @@ Project-URL: Changelog, https://gitlab.com/RadianDevCore/tools/pre-commit-crocod
11
11
  Project-URL: Documentation, https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile#pre-commit-crocodile
12
12
  Project-URL: Source, https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile
13
13
  Project-URL: Statistics, https://pypistats.org/packages/pre-commit-crocodile
14
- Keywords: git pre-commit hooks
14
+ Keywords: git pre-commit hooks prek commitizen
15
15
  Classifier: Environment :: Console
16
16
  Classifier: Intended Audience :: Developers
17
17
  Classifier: License :: OSI Approved :: Apache Software License
@@ -70,7 +70,7 @@ Dynamic: summary
70
70
  [![pre-commit-crocodile](https://img.shields.io/badge/pre--commit--crocodile-enabled-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile)
71
71
  [![guidelines](https://img.shields.io/badge/radiandevcore-guidelines-brightgreen?logo=gitlab)](https://radiandevcore.gitlab.io/wiki/guidelines)
72
72
 
73
- Git hooks intended for developers using [pre-commit](https://pre-commit.com/) and [commitizen](https://commitizen-tools.github.io/commitizen/)
73
+ Git hooks manager intended for developers using [pre-commit](https://pre-commit.com/), [prek](https://github.com/j178/prek) and [commitizen](https://commitizen-tools.github.io/commitizen/).
74
74
 
75
75
  **Documentation:** <https://radiandevcore.gitlab.io/tools/pre-commit-crocodile>
76
76
  **Package:** <https://pypi.org/project/pre-commit-crocodile/>
@@ -82,6 +82,7 @@ Git hooks intended for developers using [pre-commit](https://pre-commit.com/) an
82
82
  **`pre-commit-crocodile` uses the following features:**
83
83
 
84
84
  - **CLI - [pre-commit](https://pre-commit.com/):** Automated Git hooks before commits and upon pushes
85
+ - **CLI - [prek](https://github.com/j178/prek):** Better `pre-commit`, re-engineered in Rust
85
86
  - **CLI - [commitizen](https://commitizen-tools.github.io/commitizen/):** Commits tools and validation based upon [conventional commits](https://www.conventionalcommits.org/en/)
86
87
  - **Hooks - [pre-commit-hooks](https://github.com/pre-commit/pre-commit-hooks):** Common `pre-commit` hooks useful for developers
87
88
  - **Hooks - `prepare-commit-msg`:** Prepare commit message automatically based on changes
@@ -90,7 +91,7 @@ Git hooks intended for developers using [pre-commit](https://pre-commit.com/) an
90
91
 
91
92
  ## Preview
92
93
 
93
- ![preview.svg](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/raw/6.2.0/docs/preview.svg)
94
+ ![preview.svg](https://gitlab.com/RadianDevCore/tools/pre-commit-crocodile/raw/7.0.0/docs/preview.svg)
94
95
 
95
96
  ---
96
97
 
@@ -104,43 +105,46 @@ Git hooks intended for developers using [pre-commit](https://pre-commit.com/) an
104
105
  ```yaml
105
106
  usage: pre-commit-crocodile [-h] [--version] [--no-color] [--update-check] [--settings] [--set GROUP KEY VAL]
106
107
  [-l | -i | -c | -b | -e | -d | -a | -C | -r] [--config FOLDER | -D] [--commit]
107
- [--components | --no-components] [--offline] [--stage STAGE] [--]
108
+ [--components | --no-components] [--offline] [--stage STAGE] [--set-engine [ENGINE]] [--]
108
109
 
109
- pre-commit-crocodile: Git hooks intended for developers using pre-commit
110
+ pre-commit-crocodile: Git hooks manager intended for developers using pre-commit, prek and commitizen
110
111
 
111
112
  internal arguments:
112
- -h, --help # Show this help message
113
- --version # Show the current version
114
- --no-color # Disable colors outputs with 'NO_COLOR=1'
115
- # (or default settings: [themes] > no_color)
116
- --update-check # Check for newer package updates
117
- --settings # Show the current settings path and contents
118
- --set GROUP KEY VAL # Set settings specific 'VAL' value to [GROUP] > KEY
119
- # or unset by using 'UNSET' as 'VAL'
113
+ -h, --help # Show this help message
114
+ --version # Show the current version
115
+ --no-color # Disable colors outputs with 'NO_COLOR=1'
116
+ # (or default settings: [themes] > no_color)
117
+ --update-check # Check for newer package updates
118
+ --settings # Show the current settings path and contents
119
+ --set GROUP KEY VAL # Set settings specific 'VAL' value to [GROUP] > KEY
120
+ # or unset by using 'UNSET' as 'VAL'
120
121
 
121
122
  modes arguments:
122
- -l, --list # List Git hooks installed in sources
123
- -i, --install # Install dependencies for pre-commit hooks
124
- -c, --configure # Update sources with hooks configurations
125
- -b, --badges # Update documentation with badges configurations
126
- -e, --enable # Enable pre-commit hooks
127
- -d, --disable # Disable pre-commit hooks
128
- -a, --autoupdate # Autoupdate pre-commit hooks
129
- -C, --clean # Clean pre-commit cached hooks
130
- -r, --run # Run pre-commit hooks
123
+ -l, --list # List Git hooks installed in sources
124
+ -i, --install # Install dependencies for pre-commit hooks
125
+ -c, --configure # Update sources with hooks configurations
126
+ -b, --badges # Update documentation with badges configurations
127
+ -e, --enable # Enable pre-commit hooks
128
+ -d, --disable # Disable pre-commit hooks
129
+ -a, --autoupdate # Autoupdate pre-commit hooks
130
+ -C, --clean # Clean pre-commit cached hooks
131
+ -r, --run # Run pre-commit hooks
131
132
 
132
133
  configurations arguments:
133
- --config FOLDER # Use configurations from a specific folder
134
- -D, --default # Use global default configurations instead of sources
135
- --commit # Commit configurations changes automatically (implies --configure)
136
- --components # Import components from GitLab with 'include: component:'
137
- --no-components # Import components templates locally instead of 'include: component:'
138
- --offline # Use offline mode to disable configurations autoupdate
139
- --stage STAGE # Run a specific pre-commit stage with --run
140
- # (use 'list' to list supported stages)
134
+ --config FOLDER # Use configurations from a specific folder
135
+ -D, --default # Use global default configurations instead of sources
136
+ --commit # Commit configurations changes automatically (implies --configure)
137
+ --components # Import components from GitLab with 'include: component:'
138
+ --no-components # Import components templates locally instead of 'include: component:'
139
+ --offline # Use offline mode to disable configurations autoupdate
140
+ --stage STAGE # Run a specific pre-commit stage with --run
141
+ # (use 'list' to list supported stages)
142
+
143
+ settings arguments:
144
+ --set-engine [ENGINE] # Set pre-commit engine to use (pre-commit, prek, default: pre-commit)
141
145
 
142
146
  positional arguments:
143
- -- # Positional arguments separator (recommended)
147
+ -- # Positional arguments separator (recommended)
144
148
  ```
145
149
 
146
150
  <!-- readme-help-stop -->
@@ -248,9 +252,11 @@ pre-commit-crocodile --clean
248
252
  - [colored](https://pypi.org/project/colored/): Terminal colors and styles
249
253
  - [commitizen](https://pypi.org/project/commitizen/): Simple commit conventions for internet citizens
250
254
  - [pre-commit](https://pre-commit.com/): A framework for managing and maintaining pre-commit hooks
251
- - [pre-commit-crocodile](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile): Git hooks intended for developers using pre-commit
255
+ - [pre-commit-crocodile](https://radiandevcore.gitlab.io/tools/pre-commit-crocodile): Git hooks manager intended for developers using pre-commit, prek and commitizen
256
+ - [prek](https://github.com/j178/prek): Better `pre-commit`, re-engineered in Rust
252
257
  - [setuptools](https://pypi.org/project/setuptools/): Build and manage Python packages
253
258
  - [update-checker](https://pypi.org/project/update-checker/): Check for package updates on PyPI
259
+ - [uv](https://github.com/astral-sh/uv): An extremely fast Python package and project manager, written in Rust.
254
260
 
255
261
  ---
256
262
 
@@ -76,6 +76,7 @@ src/features/commitizen.py
76
76
  src/features/gcil.py
77
77
  src/features/git.py
78
78
  src/features/precommit.py
79
+ src/features/prek.py
79
80
  src/features/radiandevcore.py
80
81
  src/features/readme.py
81
82
  src/features/templates.py
@@ -1,2 +1,4 @@
1
1
  git+https://github.com/AdrianDC/commitizen.git@4.8.2+adriandc.20250608
2
2
  pre-commit>=3.8.0
3
+ prek>=0.0.25
4
+ uv>=0.8.10
@@ -8,4 +8,4 @@ mkdocs-git-revision-date-localized-plugin>=0.7.2
8
8
  mkdocs-macros-plugin>=1.0.5
9
9
  mkdocs-material>=9.5.32
10
10
  mkdocs-minify-plugin>=0.8.0
11
- playwright>=1.48.0
11
+ playwright>=1.54.0