-
Notifications
You must be signed in to change notification settings - Fork 7
/
pyproject.toml
28 lines (26 loc) · 1.18 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
[tool.black]
target-version = ['py38']
[tool.towncrier]
package = "tricycle"
filename = "docs/source/history.rst"
directory = "newsfragments"
underlines = ["-", "~", "^"]
issue_format = "`#{issue} <https://github.com/oremanj/tricycle/issues/{issue}>`__"
[tool.pytest.ini_options]
addopts = ["--strict-markers", "--strict-config"]
xfail_strict = true
faulthandler_timeout = 60
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',
]