Skip to content

Commit

Permalink
Add yamllint pre-commit hook (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
ls-jad-elkik authored Jan 13, 2021
1 parent 0e57848 commit c50d86f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .pre-commit-hooks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,10 @@
types: [ text ]
files: \.(java)$
stages: [commit, push, manual]

- id: yamllint
name: yamllint
description: This hook runs yamllint.
entry: yamllint
language: python
types: [file, yaml]
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ requirements-txt-fixer="submodule_pre_commit_hooks.pre_commit_hooks.requirements

[tool.poetry.dependencies]
python = "^3.7"
yamllint = "^v1.25.0"

[tool.poetry.dev-dependencies]

Expand Down

0 comments on commit c50d86f

Please sign in to comment.