-
-
Notifications
You must be signed in to change notification settings - Fork 54
/
.meta.toml
139 lines (122 loc) · 2.74 KB
/
.meta.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
# Generated from:
# https://github.com/plone/meta/tree/main/config/default
# See the inline comments on how to expand/tweak this configuration file
[meta]
template = "default"
commit-id = "1c2155e4"
[pre_commit]
codespell_extra_lines = """
exclude: docs/locale/.*.pot
"""
[pyproject]
check_manifest_ignores = """
".editorconfig",
"*.cfg",
"constraints_plone52.txt",
"constraints_plone60.txt",
"constraints.txt",
"fix-converted-myst.py",
"Makefile",
"netlify.toml",
"requirements-docs.txt",
"requirements.txt",
"""
dependencies_ignores = "['Products.PrintingMailHost', 'plone.app.iterate',]"
codespell_ignores = "manuel"
[tox]
envlist_lines = """
py{38,39,310,311}-plone{60}
linkcheck
plone6docs
docs
"""
config_lines = """
skip_missing_interpreters = True
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
[gh-actions:env]
PLONE =
60: plone60
"""
extra_lines = """
[testenv:py{38,39,310,311}-plone{60}]
skip_install = True
commands =
python -VV
pip install -r requirements.txt
pip list
{envbindir}/buildout -c /{toxinidir}/{env:BUILDOUT_FILE} buildout:directory={envdir} buildout:develop={toxinidir} install test
{envbindir}/buildout -c {toxinidir}/{env:BUILDOUT_FILE} buildout:directory={envdir} buildout:develop={toxinidir} annotate
{envbindir}/test
setenv =
BUILDOUT_FILE=test_plone-60.cfg
deps =
pdbpp
manuel
# tox < 4.0.0
whitelist_externals =
mkdir
echo
# tox >= 4.0.0
allowlist_externals =
mkdir
echo
[testenv:plone6docs]
# New docs with sphinx-book-theme
# See [testenv:docs] for classic documentation
basepython = python3.11
skip_install = False
package = editable
allowlist_externals =
mkdir
extras =
tests
deps =
-r requirements-docs.txt
commands =
python -VV
mkdir -p {toxinidir}/_build/plone6docs
sphinx-build -b html -d _build/plone6docs/doctrees docs _build/plone6docs/html
[testenv:docs]
basepython = python3.9
skip_install = False
usedevelop = True
allowlist_externals =
mkdir
extras =
tests
deps =
-r requirements-docs.txt
commands =
python -VV
mkdir -p {toxinidir}/_build/docs
sphinx-build -b html -D html_theme=alabaster -d _build/docs/doctrees docs _build/docs/html
whitelist_externals =
mkdir
[testenv:linkcheck]
basepython = python3.11
skip_install = False
package = editable
allowlist_externals =
mkdir
extras =
{[testenv:plone6docs]extras}
deps =
{[testenv:plone6docs]deps}
commands =
python -VV
mkdir -p {toxinidir}/_build/plone6docs
sphinx-build -b linkcheck -d _build/plone6docs/doctrees docs _build/plone6docs/linkcheck
"""
[github]
jobs = [
"qa",
"test",
"coverage",
"dependencies",
"release_ready",
]