Skip to content

Commit f911219

Browse files
committed
add py setup in tox.ini
1 parent 39de6b8 commit f911219

File tree

2 files changed

+18
-9
lines changed

2 files changed

+18
-9
lines changed

bobtemplates/plone/addon/setup.cfg.bob

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ profile = plone
1313
# black compatible flake8 rules:
1414
ignore =
1515
W503,
16+
W391,
1617
C812,
1718
E501
1819
T001

tox.ini

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@ envlist =
88
py310-lint
99
black-check
1010
docs
11-
py{310,39,38}-packagetests
11+
py{311,310,39,38}-packagetests
1212
py{38}-skeletontests-Plone{52}-template-addon
13-
py{310,39}-skeletontests-Plone{60}-template-addon
13+
py{311,310,39}-skeletontests-Plone{60}-template-addon
1414
py{38}-skeletontests-Plone{52}-template-addon_all
15-
py{310,39}-skeletontests-Plone{60}-template-addon_all
16-
py{310,39}-skeletontests-Plone{60}-template-addon_theme_barceoneta
17-
py{38,39,310}-skeletontests-Plone{60}-template-addon_mockup_pattern
15+
py{311,310,39}-skeletontests-Plone{60}-template-addon_all
16+
py{38,39,310,311}-skeletontests-Plone{60}-template-addon_mockup_pattern
1817
coverage-report
1918

2019
skip_missing_interpreters = True
@@ -24,6 +23,7 @@ python =
2423
3.8: py38
2524
3.9: py39
2625
3.10: py310
26+
3.11: py311
2727

2828
[testenv]
2929
usedevelop = True
@@ -34,6 +34,7 @@ basepython:
3434
py38: python3.8
3535
py39: python3.9
3636
py310: python3.10
37+
py311: python3.11
3738

3839
commands =
3940
mkdir -p {toxinidir}/_build/reports/coverage {toxinidir}/_build/reports/pytest
@@ -170,8 +171,15 @@ deps = {[lint]deps}
170171
commands = {[lint]commands}
171172
allowlist_externals = {[lint]allowlist_externals}
172173

174+
[testenv:py311-lint]
175+
basepython = python3.11
176+
skip_install = true
177+
deps = {[lint]deps}
178+
commands = {[lint]commands}
179+
allowlist_externals = {[lint]allowlist_externals}
180+
173181
[testenv:black-check]
174-
basepython = python3.10
182+
basepython = python3.11
175183
skip_install = True
176184
deps =
177185
-cconstraints.txt
@@ -181,7 +189,7 @@ commands =
181189
black --check --diff -v bobtemplates setup.py skeleton-tests package_tests
182190

183191
[testenv:black-enforce]
184-
basepython = python3.10
192+
basepython = python3.11
185193
skip_install = True
186194
deps =
187195
-cconstraints.txt
@@ -191,7 +199,7 @@ commands =
191199
black -v bobtemplates setup.py skeleton-tests package_tests
192200

193201
[testenv:docs]
194-
basepython = python3.10
202+
basepython = python3.11
195203
commands =
196204
sphinx-build -b html -d _build/docs/doctrees docs _build/docs/html -W
197205
# sphinx-build -b doctest docs _build/docs/doctrees
@@ -202,7 +210,7 @@ deps =
202210

203211
[testenv:release]
204212
skip_install = true
205-
basepython = python3.10
213+
basepython = python3.11
206214

207215
deps =
208216
-cconstraints.txt

0 commit comments

Comments
 (0)