-
Notifications
You must be signed in to change notification settings - Fork 101
/
.meta.toml
135 lines (125 loc) · 4.36 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
# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
[meta]
template = "zope-product"
commit-id = "210c1a0c"
[python]
with-pypy = false
with-docs = true
with-sphinx-doctests = false
with-windows = true
with-macos = true
with-future-python = false
[coverage]
fail-under = 82
[coverage-run]
source = "src"
[isort]
known_third_party = "ipaddress, PasteDeploy, waitress, chameleon, paste, pkg_resources"
known_zope = "AccessControl, Acquisition, App, DateTime, DocumentTemplate, ExtensionClass, MultiMapping, OFS, Persistence, persistent, Products, RestrictedPython, Shared, Testing, transaction, webdav, ZConfig, zExceptions, zmi, ZODB, zope, Zope2, ZPublisher, ZTUtils"
[flake8]
additional-config = [
"# W503 line break before binary operator",
"ignore = W503",
]
[tox]
testenv-deps = [
"cffi >= 1.17.0rc1",
"# The universal2 environment is for Python on macOS built with",
"# universal2 mode instead of architecture-specific. These dependencies",
"# must be installed separately, zc.buildout is incompatible with the",
"# universal2 mode and cannot install them itself.",
"universal2: -c {toxinidir}/constraints.txt",
"universal2: zope.interface",
"universal2: zope.security",
"universal2: zope.container",
"universal2: Persistence",
"universal2: Acquisition",
"universal2: AccessControl",
"universal2: zodbpickle",
"universal2: charset_normalizer",
"universal2: MarkupSafe",
"universal2: zope.testrunner",
]
testenv-commands-pre = [
"{envbindir}/buildout -c {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} buildout:root-directory={toxinidir}",
]
testenv-commands = [
"# The universal2 environment only runs Zope's own tests",
"universal2: {envdir}/bin/test {posargs:-vc}",
"# All other environments run the expanded alltests script",
"# the `layer` argument below suppresses a `ZCatalog` performance test",
"# which occasionally fails on GITHUB",
"!universal2: {envdir}/bin/alltests --layer '!Products.PluginIndexes' {posargs:-vc}",
]
coverage-command = "coverage run {envdir}/bin/alltests {posargs:-vc}"
testenv-additional = [
"allowlist_externals = *",
]
use-flake8 = true
[manifest]
additional-rules = [
"include *.py",
"include *.yaml",
"include sources.cfg",
"include versions-prod.cfg",
"include versions.cfg",
"recursive-include docs *.bat",
"recursive-include docs *.css",
"recursive-include docs *.jpg",
"recursive-include docs *.png",
"recursive-include docs *.po",
"recursive-include docs *.svg",
"recursive-include docs *.tgz",
"recursive-include src *.css",
"recursive-include src *.dtml",
"recursive-include src *.eot",
"recursive-include src *.gif",
"recursive-include src *.htm",
"recursive-include src *.html",
"recursive-include src *.ico",
"recursive-include src *.in",
"recursive-include src *.js",
"recursive-include src *.map",
"recursive-include src *.md",
"recursive-include src *.pdf",
"recursive-include src *.png",
"recursive-include src *.po",
"recursive-include src *.pot",
"recursive-include src *.pt",
"recursive-include src *.rst",
"recursive-include src *.svg",
"recursive-include src *.ttf",
"recursive-include src *.txt",
"recursive-include src *.webmanifest",
"recursive-include src *.woff",
"recursive-include src *.woff2",
"recursive-include src *.xml",
"recursive-include src *.zcml",
"recursive-include src *.zpt",
]
[check-manifest]
additional-ignores = [
"docs/_build/html/_images/*",
"docs/_build/html/_sources/migrations/*",
"docs/_build/html/_sources/migrations/zope4/*",
"docs/_build/html/_sources/zdgbook/*",
"docs/_build/html/_sources/zdgbook/includes/*",
"docs/_build/html/_sources/zopebook/*",
"docs/_build/html/_sources/zopebook/includes/*",
"docs/_build/html/_static/*",
"docs/_build/html/_static/css/*",
"docs/_build/html/_static/css/*/*",
"docs/_build/html/_static/scripts/*",
"docs/_build/html/_static/styles/*",
]
ignore-bad-ideas = [
"src/Products/Five/tests/locales/de/LC_MESSAGES/fivetest.mo",
"src/Products/Five/tests/locales/en/LC_MESSAGES/fivetest.mo",
]
[git]
ignore = [
"docs/locale/*/LC_MESSAGES/*.mo",
]
[pre-commit]
teyit-exclude = "App/tests/fixtures/error\\.py"