forked from IGNF/myria3d
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.cfg
49 lines (44 loc) · 1.11 KB
/
setup.cfg
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
[metadata]
project_name = "Myria3D"
author = "Charles GAYDON"
contact = "[email protected]"
license_file = LICENSE
description_file = README.md
project_template = https://github.com/ashleve/lightning-hydra-template
[isort]
line_length = 99
profile = black
filter_files = True
[flake8]
max_line_length = 140
show_source = True
format = pylint
extend-ignore = E203
exclude =
.git
__pycache__
logs/*
.vscode/*
[tool:pytest]
python_files = tests/*
log_cli = True
addopts =
# Always use coverage when running pytest
--cov "./myria3d/"
# Percentage under which coverage is not reached
--cov-fail-under 70
--cov-report html
# Needed for pytest to have access to it even though hydra changes current working directory
# and we run subprocess in some tests.
# see https://github.com/nedbat/coveragepy/issues/512#issuecomment-399707938
--cov-config setup.cfg
markers =
slow: marks tests as slow (deselect with '-m "not slow"')
filterwarnings =
ignore::DeprecationWarning
ignore::UserWarning
[coverage:run]
branch = True
# omit = file1
[coverage:report]
show_missing = True