From c3a152e68f2001202058609daf0ff0fc362caac6 Mon Sep 17 00:00:00 2001 From: Bas Zoetekouw Date: Sat, 9 Mar 2024 16:03:02 +0100 Subject: [PATCH] Enable pylint, because it catches stuff that ruff misses Signed-off-by: Bas Zoetekouw --- .github/workflows/static-checks.yml | 3 +++ test-requirements.txt | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index 5223ef6..792662b 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -20,3 +20,6 @@ jobs: pip install -r test-requirements.txt ruff format --check ruff check + - name: Analysing the code with pylint + run: | + pylint podman-compose.py diff --git a/test-requirements.txt b/test-requirements.txt index a123291..541e3e7 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -4,6 +4,7 @@ parameterized==0.9.0 pytest==8.0.2 tox==4.13.0 ruff==0.3.1 +pylint==3.1.0 # The packages below are transitive dependencies of the packages above and are included here # to make testing reproducible. @@ -12,16 +13,21 @@ ruff==0.3.1 # pip freeze > test-requirements.txt # and edit test-requirements.txt to add this comment +astroid==3.1.0 cachetools==5.3.3 chardet==5.2.0 colorama==0.4.6 +dill==0.3.8 distlib==0.3.8 filelock==3.13.1 iniconfig==2.0.0 +isort==5.13.2 +mccabe==0.7.0 packaging==23.2 platformdirs==4.2.0 pluggy==1.4.0 pyproject-api==1.6.1 python-dotenv==1.0.1 PyYAML==6.0.1 +tomlkit==0.12.4 virtualenv==20.25.1