From 34c4b4d3c8db6039eedee2410b947f8494587430 Mon Sep 17 00:00:00 2001 From: m32 Date: Sat, 24 Aug 2024 23:58:44 +0200 Subject: [PATCH] linter --- .github/workflows/lint_python.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/lint_python.yml b/.github/workflows/lint_python.yml index 443a11a..1c4e17b 100644 --- a/.github/workflows/lint_python.yml +++ b/.github/workflows/lint_python.yml @@ -3,11 +3,18 @@ on: [pull_request, push] jobs: lint_python: runs-on: ubuntu-latest + strategy: + matrix: + python-version: + - "3.11" + - "3.12" steps: # - name: Use Node.js # uses: actions/setup-node@v2 - uses: actions/checkout@v4 - uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} - run: pip install --upgrade pip setuptools - run: pip install bandit black codespell flake8 isort mypy pytest pyupgrade safety - run: bandit --recursive --skip B101 . # B101 is assert statements