From d596111be16acb924f187cb4257d7f25224719de Mon Sep 17 00:00:00 2001 From: jeff350 <10672501+jeff350@users.noreply.github.com> Date: Sat, 14 Oct 2023 20:30:36 -0500 Subject: [PATCH] style: format and update pre-commit --- .pre-commit-config.yaml | 8 ++++---- docker/software/config/daemon.sls | 2 +- docker/software/config/environ.sls | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 1299a84d..dc04b69f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -30,7 +30,7 @@ repos: additional_dependencies: ['@commitlint/config-conventional@8.3.4'] always_run: true - repo: https://github.com/rubocop-hq/rubocop - rev: v1.30.1 + rev: v1.56.4 hooks: - id: rubocop name: Check Ruby files with rubocop @@ -38,14 +38,14 @@ repos: always_run: true pass_filenames: false - repo: https://github.com/shellcheck-py/shellcheck-py - rev: v0.8.0.4 + rev: v0.9.0.6 hooks: - id: shellcheck name: Check shell scripts with shellcheck files: ^.*\.(sh|bash|ksh)$ types: [] - repo: https://github.com/adrienverge/yamllint - rev: v1.26.3 + rev: v1.32.0 hooks: - id: yamllint name: Check YAML syntax with yamllint @@ -53,7 +53,7 @@ repos: always_run: true pass_filenames: false - repo: https://github.com/warpnet/salt-lint - rev: v0.8.0 + rev: v0.9.2 hooks: - id: salt-lint name: Check Salt files using salt-lint diff --git a/docker/software/config/daemon.sls b/docker/software/config/daemon.sls index 5164095c..239bb85d 100644 --- a/docker/software/config/daemon.sls +++ b/docker/software/config/daemon.sls @@ -28,7 +28,7 @@ docker-software-daemon-file-managed-daemon_file: {%- endif %} - template: jinja - context: - config: {{ d.pkg.docker.daemon_config|json }} + config: {{ d.pkg.docker.daemon_config|json }} - require: - sls: {{ sls_archive if d.pkg.docker.use_upstream == 'archive' else sls_desktop if d.pkg.docker.use_upstream == 'desktop' else sls_package }} diff --git a/docker/software/config/environ.sls b/docker/software/config/environ.sls index 95264954..4a9cff14 100644 --- a/docker/software/config/environ.sls +++ b/docker/software/config/environ.sls @@ -28,7 +28,7 @@ docker-software-environ-file-managed-environ_file: {%- endif %} - template: jinja - context: - environ: {{ d.pkg.docker.environ|json }} + environ: {{ d.pkg.docker.environ|json }} - require: - sls: {{ sls_archive if d.pkg.docker.use_upstream == 'archive' else sls_desktop if d.pkg.docker.use_upstream == 'desktop' else sls_package }}