Additional fixes and cleanup for python updates

This commit is contained in:
Jeremy Rimpo
2023-09-23 14:24:22 +02:00
committed by Mikaël Capelle
parent 0f106363cd
commit 55a987bff6
62 changed files with 1205 additions and 737 deletions
+16 -18
View File
@@ -5,22 +5,20 @@ on: [push, pull_request]
jobs:
checks:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.8]
steps:
- uses: actions/checkout@v1
with:
path: basic_games
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install tox
- name: Test with tox
run: tox -e py38-lint
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.11
- uses: abatilo/actions-poetry@v2
- name: Install
run: |
poetry install
- name: Lint
run: |
poetry run black . --check --diff
poetry run isort -c .
poetry run mypy .
poetry run ruff .
poetry run pyright .