-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpyproject.toml
26 lines (24 loc) · 1.05 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
# See https://gitlab.liris.cnrs.fr/pagoda/tools/mkdocs_template/-/blob/master/user_config/pyproject.toml
# -----------------------------------------------------------------------------
# Pytest configuration
# https://docs.pytest.org/en/latest/customize.html?highlight=pyproject#pyproject-toml
[tool.pytest.ini_options]
testpaths = [
"tests",
]
addopts = "--cov=sparse_caption"
filterwarnings = [
"ignore:Using or importing the ABCs from 'collections' instead of from 'collections.abc'",
"ignore:Call to deprecated create function FileDescriptor",
"ignore:Call to deprecated create function FieldDescriptor",
"ignore:Call to deprecated create function Descriptor",
"ignore:Call to deprecated create function EnumValueDescriptor",
"ignore:Call to deprecated create function EnumDescriptor",
]
# -----------------------------------------------------------------------------
# Black (Option-less formatter) configuration
# https://black.readthedocs.io/en/stable/index.html
[tool.black]
line-length = 120
target-version = ["py37"]
include = '\.pyi?$'