From 34daa992f59ee1bff2e2b2b379a417e3d901cc73 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman <rjeffman@redhat.com> Date: Thu, 13 Jul 2023 08:41:35 -0300 Subject: [PATCH] development: Bump versions of development checks Update versions for linters and pre-commit checks, and fix ansible-lint execution. --- .pre-commit-config.yaml | 8 ++++---- requirements-dev.txt | 12 ++++++------ 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 00d5b2fa..14501858 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -8,7 +8,7 @@ repos: pass_filenames: true files: \.(yaml|yml)$ exclude: /env[^/]*.(yaml|yml)$ - entry: >- + entry: |- env ANSIBLE_LIBRARY=./plugins/modules ANSIBLE_MODULE_UTILS=./plugins/module_utils @@ -21,12 +21,12 @@ repos: --parseable --nocolor - repo: https://github.com/adrienverge/yamllint.git - rev: v1.28.0 + rev: v1.32.0 hooks: - id: yamllint files: \.(yaml|yml)$ - repo: https://github.com/pycqa/flake8 - rev: 5.0.3 + rev: 6.0.0 hooks: - id: flake8 - repo: https://github.com/pycqa/pydocstyle @@ -34,7 +34,7 @@ repos: hooks: - id: pydocstyle - repo: https://github.com/pycqa/pylint - rev: v2.14.4 + rev: v2.17.2 hooks: - id: pylint args: diff --git a/requirements-dev.txt b/requirements-dev.txt index 750f7f04..501c0079 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -1,10 +1,10 @@ -r requirements-tests.txt ipdb==0.13.4 pre-commit==2.20.0 -flake8==5.0.3 -flake8-bugbear==22.10.27 -pylint==2.14.4 -wrapt == 1.14.0 -pydocstyle==6.0.0 -yamllint==1.28.0 +flake8==6.0.0 +flake8-bugbear +pylint==2.17.2 +wrapt==1.14.1 +pydocstyle==6.3.0 +yamllint==1.32.0 ansible-lint -- GitLab