forked from zopefoundation/Zope
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.meta.toml
127 lines (119 loc) · 3.83 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
# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/zope-product
[meta]
template = "zope-product"
commit-id = "387516cfda91ee38cde868ef0d6205314a6a9bef"
[python]
with-pypy = false
with-legacy-python = false
with-docs = true
with-sphinx-doctests = false
with-windows = true
with-future-python = false
[coverage]
fail-under = 80
[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 = [
"wheel",
]
additional-envlist = [
"pre-commit",
]
testenv-commands-pre = [
"{envbindir}/buildout -c {toxinidir}/buildout.cfg buildout:directory={envdir} buildout:develop={toxinidir} install alltests",
]
testenv-commands = [
"{envdir}/bin/alltests {posargs:-vc}",
]
coverage-basepython = "python3.8"
coverage-command = "coverage run {envdir}/bin/alltests {posargs:-vc}"
testenv-additional = [
"",
"[testenv:pre-commit]",
"basepython = python3",
"description = This env runs all linters configured in .pre-commit-config.yaml",
"skip_install = true",
"deps =",
" pre-commit",
"commands_pre =",
"commands =",
" pre-commit run --all-files --show-diff-on-failure",
"",
"[testenv:autopep8]",
"basepython = python3.6",
"skip_install = true",
"deps =",
" -cconstraints.txt",
" autopep8",
" docformatter",
"commands =",
" autopep8 --verbose --in-place --recursive --aggressive --aggressive {toxinidir}/src setup.py",
" docformatter --in-place --recursive {toxinidir}/src setup.py",
]
use-flake8 = true
[manifest]
additional-rules = [
"include *.py",
"include *.yaml",
"include sources.cfg",
"include versions-prod.cfg",
"include versions.cfg",
"include zope-ecosystem.cfg",
"recursive-include docs *.bat",
"recursive-include docs *.css",
"recursive-include docs *.jpg",
"recursive-include docs *.png",
"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/*",
]
ignore-bad-ideas = [
"src/Products/Five/tests/locales/de/LC_MESSAGES/fivetest.mo",
"src/Products/Five/tests/locales/en/LC_MESSAGES/fivetest.mo",
]