summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-30 18:57:53 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2021-01-30 18:57:53 -0500
commit3fc09649e9ec8011d339f0f52b347543077ce8bc (patch)
tree333efe86238912cc1b4dfedd1e1e3e4fe500ca35
parent24c7c79459c541b7e5a83fe58634fe84be959ec0 (diff)
downloadcmd2-git-3fc09649e9ec8011d339f0f52b347543077ce8bc.tar.gz
Try to fix flake8 lint run and Python 3.10 runs
-rw-r--r--.github/workflows/ci.yml4
-rw-r--r--noxfile.py2
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',