diff options
author | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-01-30 18:57:53 -0500 |
---|---|---|
committer | Todd Leonhardt <todd.leonhardt@gmail.com> | 2021-01-30 18:57:53 -0500 |
commit | 3fc09649e9ec8011d339f0f52b347543077ce8bc (patch) | |
tree | 333efe86238912cc1b4dfedd1e1e3e4fe500ca35 | |
parent | 24c7c79459c541b7e5a83fe58634fe84be959ec0 (diff) | |
download | cmd2-git-3fc09649e9ec8011d339f0f52b347543077ce8bc.tar.gz |
Try to fix flake8 lint run and Python 3.10 runs
-rw-r--r-- | .github/workflows/ci.yml | 4 | ||||
-rw-r--r-- | 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 }} @@ -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', |