Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address issues from PR #216 #221

Merged
merged 2 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions config/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ Preparation

The script needs a ``venv`` with some packages installed::

$ python3 -m venv .
$ python3.11 -m venv .
dataflake marked this conversation as resolved.
Show resolved Hide resolved
$ bin/pip install -r requirements.txt

To use the configuration provided here in a package call the following script::
Expand Down Expand Up @@ -272,7 +272,7 @@ updated. Example:
"extend-ignore = D203, W503",
]
additional-plugins = [
"maccabe"
"mccabe",
]
additional-sources = "testproj foo bar.py"

Expand Down Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions config/default/tests.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ jobs:
{% endif %}
config:
# [Python version, tox env]
- ["3.9", "release-check"]
- ["3.9", "lint"]
- ["3.7", "py37"]
- ["3.8", "py38"]
Expand All @@ -61,13 +62,15 @@ 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"] }
{% endif %}
- { 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"] }
Expand Down