diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 05009e9d..c3c565e0 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,7 +13,7 @@ on: jobs: lint: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest steps: - name: Cancel Outdated Runs @@ -21,10 +21,10 @@ jobs: with: access_token: ${{ github.token }} - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - uses: actions/cache@v4 with: path: ~/.cache/pip @@ -35,7 +35,7 @@ jobs: - name: Run Flake8 run: flake8 - name: Black code style - run: black . --check --target-version py310 --exclude '\.mypy_cache/|\.venv/|env/|(.*/)*snapshots/|.pytype/' + run: black . --check --exclude '\.mypy_cache/|\.venv/|env/|(.*/)*snapshots/|.pytype/' - name: Docstring formatting run: docformatter -c -r . --wrap-summaries 88 --wrap-descriptions 88 - name: Check import order with isort diff --git a/.github/workflows/pre-commit-autoupdate.yml b/.github/workflows/pre-commit-autoupdate.yml index 9ad718ae..5794bf53 100644 --- a/.github/workflows/pre-commit-autoupdate.yml +++ b/.github/workflows/pre-commit-autoupdate.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Configure Python 3.10 + - name: Configure Python 3.11 uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Use Pip cache if available uses: actions/cache@v4 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index f3cc1f28..fd064e43 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -13,10 +13,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python 3.11 uses: actions/setup-python@v5 with: - python-version: '3.10' + python-version: '3.11' - name: Install requirements run: pip install --upgrade setuptools twine wheel - name: Create wheel diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 28655ec4..2f942fcc 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,10 +13,10 @@ on: jobs: unit_test: - runs-on: ubuntu-22.04 + runs-on: ubuntu-latest strategy: matrix: - python-version: [3.8, 3.9, '3.10'] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - name: Cancel Outdated Runs @@ -43,7 +43,7 @@ jobs: runs-on: ubuntu-22.04 strategy: matrix: - python-version: [3.8, 3.9, '3.10'] + python-version: ['3.8', '3.9', '3.10', '3.11'] steps: - uses: actions/checkout@v4 - name: Set up Python diff --git a/setup.cfg b/setup.cfg index 747375da..a48c3e28 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,4 +36,3 @@ exclude = ignored # Keep going past errors to analyse as many files as possible. keep_going = True -python_version = 3.10