Skip to content

Commit

Permalink
.pre-commit: more options
Browse files Browse the repository at this point in the history
  • Loading branch information
Rendanic committed Nov 1, 2022
1 parent a786660 commit e3dae6a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@ repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.3.0
hooks:
# needs some cleanup in project before enabling
# - id: trailing-whitespace
# - id: end-of-file-fixer
- id: trailing-whitespace
- id: end-of-file-fixer
- id: check-yaml
- id: check-symlinks
- id: check-added-large-files
- id: check-merge-conflict
- id: detect-private-key
- id: forbid-new-submodules
- id: check-executables-have-shebangs
- id: no-commit-to-branch

- repo: https://github.com/ansible-community/ansible-lint.git
rev: v6.8.2
Expand Down
Empty file added changelogs/fragments/.gitkeep
Empty file.
3 changes: 3 additions & 0 deletions changelogs/fragments/291-precommit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
bugfixes:
- "pre-commit: added some extra hooks"

0 comments on commit e3dae6a

Please sign in to comment.