Commit 7cb6a5f5 authored by Maurits van Rees's avatar Maurits van Rees

Update meta config for pure-python.

parent 0e72b8b1
......@@ -29,6 +29,7 @@ jobs:
- ["3.8", "py38"]
- ["3.9", "py39"]
- ["3.10", "py310"]
- ["3.11", "py311"]
- ["pypy-2.7", "pypy"]
- ["pypy-3.7", "pypy3"]
- ["3.9", "docs"]
......@@ -41,6 +42,7 @@ jobs:
- { os: windows, config: ["pypy-2.7", "pypy"] }
runs-on: ${{ matrix.os }}-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
name: ${{ matrix.os }}-${{ matrix.config[1] }}
steps:
- uses: actions/checkout@v2
......
......@@ -28,4 +28,5 @@ lib64
log/
parts/
pyvenv.cfg
testing.log
var/
......@@ -2,7 +2,7 @@
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[meta]
template = "pure-python"
commit-id = "15807bd13de45b79c7da560a377fe3f22cbc4338"
commit-id = "b4dd6f9ffd3d6a2cde7dc70512c62d4c7ed22cd6"
[python]
with-windows = true
......
......@@ -21,3 +21,14 @@ ignore =
docs/_build/html/*/*/*/*
docs/_build/html/*/*/*
docs/_build/html/*/*
[isort]
force_single_line = True
combine_as_imports = True
sections = FUTURE,STDLIB,THIRDPARTY,ZOPE,FIRSTPARTY,LOCALFOLDER
known_third_party = six, docutils, pkg_resources
known_zope =
known_first_party =
default_section = ZOPE
line_length = 79
lines_after_imports = 2
......@@ -11,6 +11,7 @@ envlist =
py38
py39
py310
py311
pypy
pypy3
docs
......@@ -35,15 +36,25 @@ setenv =
[testenv:lint]
basepython = python3
skip_install = true
commands =
isort --check-only --diff {toxinidir}/src {toxinidir}/setup.py
flake8 src setup.py
check-manifest
check-python-versions
deps =
flake8
check-manifest
check-python-versions >= 0.19.1
wheel
flake8
isort
[testenv:isort-apply]
basepython = python3
commands_pre =
deps =
isort
commands =
flake8 src setup.py
check-manifest
check-python-versions
isort {toxinidir}/src {toxinidir}/setup.py []
[testenv:docs]
basepython = python3
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment