Skip to content

Commit

Permalink
CI: Match python-code-quality.yml to pre-commit config
Browse files Browse the repository at this point in the history
  • Loading branch information
echoix committed Dec 28, 2023
1 parent d85a57d commit 056b4ac
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/python-code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ jobs:
matrix:
include:
- os: ubuntu-22.04
python-version: '3.10'
min-python-version: '3.7'
black-version: '23.1.0'
flake8-version: '3.9.2'
pylint-version: '2.12.2'
python-version: "3.10"
min-python-version: "3.7"
black-version: "23.12.1"
flake8-version: "6.1.0"
pylint-version: "2.12.2"

runs-on: ${{ matrix.os }}

Expand All @@ -39,7 +39,7 @@ jobs:
run: |
echo OS: ${{ matrix.os }}
echo Python: ${{ matrix.python-version }}
echo Minimimal Python version: ${{ matrix.min-python-version }}
echo Minimal Python version: ${{ matrix.min-python-version }}
echo Black: ${{ matrix.black-version }}
echo Flake8: ${{ matrix.flake8-version }}
echo Pylint: ${{ matrix.pylint-version }}
Expand All @@ -63,9 +63,9 @@ jobs:
python -m pip install --upgrade pip
pip install -r .github/workflows/python_requirements.txt
pip install -r .github/workflows/optional_requirements.txt
pip install black==${{ matrix.black-version }}
pip install flake8==${{ matrix.flake8-version }}
pip install pylint==${{ matrix.pylint-version }} pytest-github-actions-annotate-failures
pip install pipx pylint==${{ matrix.pylint-version }} pytest-github-actions-annotate-failures
pipx install black[jupyter]==${{ matrix.black-version }}
pipx install flake8==${{ matrix.flake8-version }}
- name: Run Black
run: |
Expand Down

0 comments on commit 056b4ac

Please sign in to comment.