From b7e39ce7e93bcea496853e9761a8cdd6c8d537c8 Mon Sep 17 00:00:00 2001 From: Rafael Guterres Jeffman Date: Wed, 9 Nov 2022 22:35:25 -0300 Subject: [PATCH] linters: Fix versions of linter packages due to Python 3.11. Under Python 3.11 some linters have failed to execute due to deprecated items. Increasing or setting specific allow the linters to succeed with Python's lates version. --- .github/workflows/lint.yml | 2 +- requirements-dev.txt | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 748bfcd3..5cc1b8a7 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -68,7 +68,7 @@ jobs: python-version: "3.x" - name: Run pylint run: | - pip install pylint==2.12.2 + pip install pylint==2.13.7 wrapt==1.14.0 pylint plugins roles --disable=import-error shellcheck: diff --git a/requirements-dev.txt b/requirements-dev.txt index f224861f..0915965a 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,11 +2,9 @@ ipdb==0.13.4 pre-commit flake8==4.0.1 -flake8-bugbear +flake8-bugbear==22.10.27 pylint==2.13.7 +wrapt >= 1.14.0 pydocstyle==6.0.0 yamllint==1.26.3 ansible-lint==5.3.2 -dnspython==2.2.0 -netaddr==0.8.0 -gssapi==1.7.2