From 00c84187ece4cddd0299528b5c722d85ea129c90 Mon Sep 17 00:00:00 2001 From: toonn Date: Fri, 10 Jun 2022 14:30:54 +0200 Subject: pylint: Pin to 2.13.9 As of 2.14.0 PyLint dropped the python3 port checker. This means many of the features we want to disable, because we need syntax compatible with Python 2 are gone and we can no longer disable the checks. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index fc51e82a..c24c4584 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1,3 @@ flake8 -pylint +pylint==2.13.9 # Newer versions drop the python3 port checker, which we need pytest -- cgit 1.4.1-2-gfad0 From 0368c26ecc1335c88c39befbd46c4826e09ffd55 Mon Sep 17 00:00:00 2001 From: toonn Date: Fri, 10 Jun 2022 15:13:45 +0200 Subject: GHActions: Rerun PyLint when requirements.txt changes --- .github/workflows/pylint.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index c15f8f64..474b087f 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -5,10 +5,12 @@ on: paths: - '.github/workflows/pylint.yml' - '**.py' + - 'requirements.txt' pull_request: paths: - '.github/workflows/pylint.yml' - '**.py' + - 'requirements.txt' jobs: test_pylint: -- cgit 1.4.1-2-gfad0