-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy path.meta.toml
90 lines (82 loc) · 2.05 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
# Generated from:
# https://github.com/zopefoundation/meta/tree/master/config/pure-python
[meta]
template = "pure-python"
commit-id = "d1a00d25"
[python]
with-pypy = false
with-docs = true
with-sphinx-doctests = true
with-windows = true
with-future-python = false
with-macos = false
[tox]
use-flake8 = true
additional-envlist = [
"py311-datetime",
"combined-coverage",
]
testenv-deps = [
"datetime: DateTime",
"-cconstraints.txt",
"pytest-cov",
]
testenv-setenv = [
"COVERAGE_FILE=.coverage.{envname}",
]
testenv-commands = [
"python -V",
"pytest --cov=src --cov=tests --cov-report= tests {posargs}",
]
testenv-additional = [
"",
"[testenv:combined-coverage]",
"basepython = python3",
"allowlist_externals =",
" mkdir",
"deps =",
" coverage",
" -cconstraints.txt",
"setenv =",
" COVERAGE_FILE=.coverage",
"commands =",
" mkdir -p {toxinidir}/parts/htmlcov",
" coverage erase",
" coverage combine",
" coverage html",
" coverage report -m --fail-under=100",
"depends = py39,py310,py311,py311-datetime,py312,py313,coverage",
]
coverage-command = "pytest --cov=src --cov=tests --cov-report= tests {posargs}"
coverage-setenv = [
"COVERAGE_FILE=.coverage",
]
[coverage]
fail-under = 97.3
[isort]
additional-sources = "{toxinidir}/tests"
[flake8]
additional-sources = "tests"
[manifest]
additional-rules = [
"include *.yaml",
"recursive-include docs *.ast",
"recursive-include docs *.bat",
"recursive-include docs *.jpg",
"recursive-include tests *.py",
]
[check-manifest]
additional-ignores = [
"docs/CHANGES.rst",
"docs/_build/html/_images/*",
"docs/_build/html/_sources/contributing/*",
"docs/_build/html/_sources/install/*",
"docs/_build/html/_sources/roadmap/*",
"docs/_build/html/_sources/upgrade_dependencies/*",
"docs/_build/html/_sources/usage/*",
"docs/_build/html/_static/scripts/*",
]
[github-actions]
additional-config = [
"- [\"3.11\", \"py311-datetime\"]",
]