forked from python-trio/trio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pyproject.toml
71 lines (61 loc) · 2.17 KB
/
pyproject.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
[tool.black]
target-version = ['py37']
[tool.towncrier]
# Usage:
# - PRs should drop a file like "issuenumber.feature" in newsfragments
# (or "bugfix", "doc", "removal", "misc"; misc gets no text, we can
# customize this)
# - At release time after bumping version number, run: towncrier
# (or towncrier --draft)
package = "trio"
filename = "docs/source/history.rst"
directory = "newsfragments"
underlines = ["-", "~", "^"]
issue_format = "`#{issue} <https://github.com/python-trio/trio/issues/{issue}>`__"
[[tool.towncrier.type]]
directory = "headline"
name = "Headline features"
showcontent = true
[[tool.towncrier.type]]
directory = "breaking"
name = "Breaking changes"
showcontent = true
[[tool.towncrier.type]]
directory = "feature"
name = "Features"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bugfixes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Improved documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "deprecated"
name = "Deprecations and removals"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Miscellaneous internal changes"
showcontent = true
[tool.pytest.ini_options]
addopts = ["--strict-markers", "--strict-config"]
xfail_strict = true
faulthandler_timeout = 60
markers = ["redistributors_should_skip: tests that should be skipped by downstream redistributors"]
junit_family = "xunit2"
filterwarnings = [
"error",
# https://gitter.im/python-trio/general?at=63bb8d0740557a3d5c688d67
'ignore:You are using cryptography on a 32-bit Python on a 64-bit Windows Operating System. Cryptography will be significantly faster if you switch to using a 64-bit Python.:UserWarning',
# this should remain until https://github.com/pytest-dev/pytest/pull/10894 is merged
'ignore:ast.Str is deprecated:DeprecationWarning',
'ignore:Attribute s is deprecated and will be removed:DeprecationWarning',
'ignore:ast.NameConstant is deprecated:DeprecationWarning',
'ignore:ast.Num is deprecated:DeprecationWarning',
# https://github.com/python/mypy/issues/15330
'ignore:ast.Ellipsis is deprecated:DeprecationWarning',
'ignore:ast.Bytes is deprecated:DeprecationWarning',
]