From 3fc09649e9ec8011d339f0f52b347543077ce8bc Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sat, 30 Jan 2021 18:57:53 -0500 Subject: Try to fix flake8 lint run and Python 3.10 runs --- .github/workflows/ci.yml | 4 ++-- noxfile.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 780b0c0f..d85b789c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,7 +20,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: [3.6, 3.7, 3.8, 3.9, 3.10-dev] + python-version: [3.6, 3.7, 3.8, 3.9, 3.10] fail-fast: false runs-on: ${{ matrix.os }} steps: @@ -45,7 +45,7 @@ jobs: run: pip install -U --user pip setuptools setuptools-scm flake8 nox - name: Lint if: matrix.os == 'ubuntu-latest' && matrix.python-version == env.PYTHON_LATEST - run: flake8 . --count --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics ; + run: python -m flake8 . --count --ignore=E252,W503 --max-complexity=26 --max-line-length=127 --show-source --statistics ; - name: Run tests and post coverage results env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/noxfile.py b/noxfile.py index 91533f1f..e506c04f 100644 --- a/noxfile.py +++ b/noxfile.py @@ -15,7 +15,7 @@ def docs(session): '-d', '{}/doctrees'.format(tmpdir), '.', '{}/html'.format(tmpdir)) -@nox.session(python=['3.6', '3.7', '3.8', '3.9', '3.10-dev']) +@nox.session(python=['3.6', '3.7', '3.8', '3.9', '3.10']) @nox.parametrize('plugin', [None, 'ext_test', 'template', -- cgit v1.2.1