From f262b2e9f0fa46e3c5a449ca691a1dc189c79ea8 Mon Sep 17 00:00:00 2001 From: Jens Vagelpohl Date: Mon, 23 Oct 2023 10:22:12 +0200 Subject: [PATCH 1/2] - address issues from PR #216 --- config/README.rst | 6 +++--- config/default/tests.yml.j2 | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config/README.rst b/config/README.rst index 03e1813..fb28d48 100644 --- a/config/README.rst +++ b/config/README.rst @@ -98,7 +98,7 @@ Preparation The script needs a ``venv`` with some packages installed:: - $ python3 -m venv . + $ python3.11 -m venv . $ bin/pip install -r requirements.txt To use the configuration provided here in a package call the following script:: @@ -272,7 +272,7 @@ updated. Example: "extend-ignore = D203, W503", ] additional-plugins = [ - "maccabe" + "mccabe", ] additional-sources = "testproj foo bar.py" @@ -527,7 +527,7 @@ additional-config additional-plugins Some packages want to have additional flake8 plugins installed. - *Caution:* This option has to be a list of strings. + This option is a list of strings. additional-sources Sometimes not only ``src`` and ``setup.py`` contain Python code to be checked diff --git a/config/default/tests.yml.j2 b/config/default/tests.yml.j2 index e6877a3..592d72d 100644 --- a/config/default/tests.yml.j2 +++ b/config/default/tests.yml.j2 @@ -35,6 +35,7 @@ jobs: {% endif %} config: # [Python version, tox env] + - ["3.9"], "release-check"] - ["3.9", "lint"] - ["3.7", "py37"] - ["3.8", "py38"] @@ -61,6 +62,7 @@ jobs: exclude: {% endif %} {% if with_windows %} + - { os: ["windows", "windows-latest"], config: ["3.9", "release-check"] } - { os: ["windows", "windows-latest"], config: ["3.9", "lint"] } {% if with_docs %} - { os: ["windows", "windows-latest"], config: ["3.9", "docs"] } @@ -68,6 +70,7 @@ jobs: - { os: ["windows", "windows-latest"], config: ["3.9", "coverage"] } {% endif %} {% if with_macos %} + - { os: ["macos", "macos-11"], config: ["3.9", "release-check"] } - { os: ["macos", "macos-11"], config: ["3.9", "lint"] } {% if with_docs %} - { os: ["macos", "macos-11"], config: ["3.9", "docs"] } From 18d45cde093e40867a6dbe36900fe8808df065bd Mon Sep 17 00:00:00 2001 From: Jens Vagelpohl Date: Mon, 23 Oct 2023 14:22:03 +0200 Subject: [PATCH 2/2] - fix typo --- config/default/tests.yml.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/default/tests.yml.j2 b/config/default/tests.yml.j2 index 592d72d..547dc68 100644 --- a/config/default/tests.yml.j2 +++ b/config/default/tests.yml.j2 @@ -35,7 +35,7 @@ jobs: {% endif %} config: # [Python version, tox env] - - ["3.9"], "release-check"] + - ["3.9", "release-check"] - ["3.9", "lint"] - ["3.7", "py37"] - ["3.8", "py38"]