Skip to content

Commit

Permalink
Set ansible-lint, & gendict.py stages to pre-push
Browse files Browse the repository at this point in the history
This was done in an attempt to speed up my commit workflow, as both
these pre-commit hooks are the slowest out of the repository's
pre-commit hooks.
  • Loading branch information
cavcrosby committed Jan 5, 2025
1 parent 977ea43 commit 86e89d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
---
default_install_hook_types:
- pre-commit
- pre-push
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.6.0
Expand All @@ -11,6 +14,8 @@ repos:
rev: v24.9.0
hooks:
- id: ansible-lint
stages:
- pre-push
additional_dependencies:
- ansible-core ==2.17.0
- jmespath ==1.0.1
Expand Down Expand Up @@ -62,6 +67,8 @@ repos:
name: gendict.py
entry: ./scripts/gendict.py
language: python
stages:
- pre-push
additional_dependencies:
- ansible-lint ==24.9.0
- pyspellchecker ==0.8.1
Expand Down

0 comments on commit 86e89d3

Please sign in to comment.