From 198b60f314489ba1a84ea8d41b97fa0487ebe963 Mon Sep 17 00:00:00 2001 From: plenoir Date: Wed, 15 Apr 2026 21:51:56 +0200 Subject: [PATCH 1/2] pylint --- .github/workflows/build.yml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2916e6f..15c65d8 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,3 +18,23 @@ jobs: uses: SonarSource/sonarqube-scan-action@f00de44f574073760c9deaf47f694e10431f3988 env: SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} + + pylint: + runs-on: ubuntu-latest + strategy: + matrix: + python-version: ["3.11", "3.12", "3.13"] + 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 -r requirements.txt + pip install pylint + - name: Analysing the code with pylint + run: | + pylint $(git ls-files '*.py') From 507b147ea61d2258838146cf949c22a9aee7b35b Mon Sep 17 00:00:00 2001 From: plenoir Date: Wed, 15 Apr 2026 21:58:56 +0200 Subject: [PATCH 2/2] pylint --- .sonarlint/connectedMode.json | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .sonarlint/connectedMode.json diff --git a/.sonarlint/connectedMode.json b/.sonarlint/connectedMode.json new file mode 100644 index 0000000..d08faa7 --- /dev/null +++ b/.sonarlint/connectedMode.json @@ -0,0 +1,5 @@ +{ + "sonarCloudOrganization": "lenoirpatrick", + "projectKey": "lenoirpatrick_githubwebhook", + "region": "EU" +} \ No newline at end of file