forked from IGNF/myria3d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
39 lines (34 loc) · 923 Bytes
/
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
[tool.black]
line-length = 99
target-version = ['py39']
include = '\.pyi?$'
# 'extend-exclude' excludes files or directories in addition to the defaults
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
(
^/foo.py # exclude a file named foo.py in the root of the project
| .*_pb2.py # exclude autogenerated Protocol Buffer files anywhere in the project
)
'''
[tool.isort]
profile="black"
src_paths="myria3d,test"
[tool.pytest.ini_options]
log_cli = true
testpaths = [
"tests/myria3d/",
]
# Add coverage
addopts = "--cov ./myria3d/ --cov-report html --cov-fail-under 75 --cov-config pyproject.toml"
filterwarnings = [
"ignore::DeprecationWarning",
"ignore::UserWarning"
]
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
]
[tool.coverage.run]
branch = true
[tool.coverage.report]
show_missing = true