From 594077723f084dabe8596b4b6d7bec9ada8ffafd Mon Sep 17 00:00:00 2001 From: Chris Croome <chris@webarchitects.co.uk> Date: Sun, 31 Dec 2023 14:09:45 +0000 Subject: [PATCH] j2lint updates --- .pre-commit-config.yaml | 2 +- templates/mariadb.j2 | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 3e8d27b..f907470 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -34,7 +34,7 @@ repos: - id: j2lint name: Jinja2-Linter args: - - templates/*.j2 + - templates # https://github.com/jackdewinter/pymarkdown/releases - repo: https://github.com/jackdewinter/pymarkdown.git rev: v0.9.15 diff --git a/templates/mariadb.j2 b/templates/mariadb.j2 index 92506cb..82c5c1f 100644 --- a/templates/mariadb.j2 +++ b/templates/mariadb.j2 @@ -1,4 +1,5 @@ # {{ ansible_managed }} +# {# j2lint: disable=jinja-statements-indentation j2lint: disable=single-statement-per-line #} {% for mariadb_cnf_section in mariadb_cnf.conf | dict2items %} [{{ mariadb_cnf_section.key }}] -- GitLab