From 6ae89c9aefe140eb404cf1a17d508a0b093cc7c4 Mon Sep 17 00:00:00 2001 From: Christian Herdtweck Date: Thu, 19 Jan 2023 10:39:36 +0100 Subject: [PATCH] Run pylint automatically when building with py3 --- .github/workflows/unittests.yml | 7 +++++++ 1 file changed, 7 insertions(+), 0 deletions(-) diff --git a/.github/workflows/unittests.yml b/.github/workflows/unittests.yml index 2fcd7f4..fff771f 100644 --- a/.github/workflows/unittests.yml +++ b/.github/workflows/unittests.yml @@ -13,6 +13,9 @@ jobs: matrix: os: ["ubuntu-latest", "windows-latest", "macos-latest"] python-version: ["2.x", "3.x", "pypy-3.9"] + include: + - python-version: 3.x + runlint: 1 steps: - uses: actions/checkout@v3 @@ -26,5 +29,9 @@ jobs: cat requirements.txt python -m pip install --upgrade pip pip install -r requirements.txt + pip install pylint + - name: Run pylint + if: ${{ matrix.runlint }} + run: pylint -E --ignore=thirdparty oletools tests - name: Run unittests run: python -m unittest discover -f \ No newline at end of file -- libgit2 0.21.4