forked from SeldonIO/alibi
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsetup.cfg
More file actions
54 lines (48 loc) · 1.05 KB
/
setup.cfg
File metadata and controls
54 lines (48 loc) · 1.05 KB
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
[aliases]
test=pytest
[tool:pytest]
addopts =
--tb native
-W ignore
--cov=alibi
--cov-append
# -n auto
# --forked
markers =
tf1: runs only tests marked with tf1 to allow testing for algorithms depending on TF1.x behaviour
[flake8]
max-line-length = 120
exclude =
# sphinx configuration
doc/source/conf.py
# post-test
.eggs/
[mypy]
ignore_missing_imports = True
strict_optional = False
# sphinx configuration
[mypy-conf]
ignore_errors = True
# tox test environment for generating licenses
[tox:tox]
[testenv]
deps = -r{toxinidir}/requirements/reqruirements-ci.txt
[testenv:licenses]
basepython = python
deps =
pip-licenses
importlib-metadata # not present with py38
zipp # not present with py38
idna-ssl # required with py36
extras = all
commands =
pip-licenses \
--from=mixed \
--format=csv \
--output-file=./licenses/license_info.csv
pip-licenses \
--from=mixed \
--format=plain-vertical \
--with-license-file \
--no-license-path \
--output-file=./licenses/license.txt