From ace071e8d1e11e4d519f23a5a33af0f6661753c3 Mon Sep 17 00:00:00 2001 From: Tim Fischer Date: Wed, 3 Jan 2024 17:11:05 +0100 Subject: [PATCH] ci: Add pylint --- .github/workflows/lint.yml | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 75a59719..42a83878 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -68,7 +68,7 @@ jobs: ################ # Verible Lint # ################ - lint: + verible-lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 @@ -81,6 +81,26 @@ jobs: fail_on_error: true reviewdog_reporter: github-check + + ########## + # PyLint # + ########## + pylint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Set up Python + uses: actions/setup-python@v3 + with: + python-version: '3.10' + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install pylint + - name: Analysing the code with pylint + run: | + pylint $(git ls-files '*.py') + ################# # Check License # #################