From e2a7f9cd0aebe961110f1c7a70acaa4b94a369d6 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 25 Dec 2021 08:19:05 +0200 Subject: [PATCH] YAML tool pre-commit hook. And fix small issues. --- .config/git/skel/.pre-commit-config.yaml | 2 +- .pre-commit-config.yaml | 7 ++++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.config/git/skel/.pre-commit-config.yaml b/.config/git/skel/.pre-commit-config.yaml index b752cf6..a276f62 100644 --- a/.config/git/skel/.pre-commit-config.yaml +++ b/.config/git/skel/.pre-commit-config.yaml @@ -98,7 +98,7 @@ repos: - id: black args: - | - --line-length=79 + --line-length=79 - repo: https://github.com/PyCQA/prospector.git rev: 1.5.1 diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8da9970..7b8553c 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,6 +13,11 @@ repos: - id: trailing-whitespace exclude: \.aspell\.en\.pws + - repo: https://git.shore.co.il/nimrod/yamltool.git + rev: v0.1.2 + hooks: + - id: yamltool + - repo: https://github.com/adrienverge/yamllint rev: v1.26.3 hooks: @@ -32,7 +37,7 @@ repos: exclude: &excluded_pythonscripts pythonrc.py|rabbitmqadmin args: - | - --line-length=79 + --line-length=79 - repo: https://github.com/PyCQA/prospector rev: 1.5.0.1 -- GitLab