From 53e95b455605af603ddaca3bd3067e0f214eff93 Mon Sep 17 00:00:00 2001 From: flyingpeakock Date: Thu, 18 Jun 2026 19:00:46 +0200 Subject: [PATCH 1/3] Add pylint workflow --- .github/workflows/pylint.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/pylint.yml diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml new file mode 100644 index 0000000..39a1654 --- /dev/null +++ b/.github/workflows/pylint.yml @@ -0,0 +1,23 @@ +name: Pylint + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.8", "3.9", "3.10"] + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + uses: actions/setup-python@v3 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + - name: Analysing the code with pylint + run: | + pylint src From f402a285e34fe3f469fa006fea1c059a628804d0 Mon Sep 17 00:00:00 2001 From: flyingpeakock Date: Thu, 18 Jun 2026 19:04:44 +0200 Subject: [PATCH 2/3] Update Python version to 3.12 in pylint workflow Updated Python version in workflow and added installation of the package. --- .github/workflows/pylint.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 39a1654..386fd21 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -7,7 +7,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.12"] steps: - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} @@ -17,6 +17,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip + pip install . pip install pylint - name: Analysing the code with pylint run: | From dbfbe5de8110afb242efb78092a6e0e5b6058847 Mon Sep 17 00:00:00 2001 From: flyingpeakock Date: Thu, 18 Jun 2026 19:08:59 +0200 Subject: [PATCH 3/3] Ignore _version.py in pylint analysis --- .github/workflows/pylint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 386fd21..a4df1b1 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -21,4 +21,4 @@ jobs: pip install pylint - name: Analysing the code with pylint run: | - pylint src + pylint src --ignore=_version.py