-
Notifications
You must be signed in to change notification settings - Fork 7
/
tox.ini
30 lines (26 loc) · 884 Bytes
/
tox.ini
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
[tox]
envlist=py26, py27, py33, py34, pypy, flake8
[testenv]
commands=py.test --cov explainable-ai-tooling {posargs}
deps=
pytest
pytest-cov
[testenv:flake8]
basepython = python2.7
deps =
flake8
commands =
flake8 explainable-ai-tooling tests --max-line-length=120
[pytest]
markers =
tensorflow: test requires tensorflow to be installed
pytorch: test requires pytorch and tensorflow-model-analysis to be installed
common: test does not require a specific framework to be installed
[flake8]
ignore = C901,E203,E266,E401,E402,E701,E711,E712,E722,E731,F401,F403,F405,F841,W291,W503,W504
tee = True
inline-quotes = double
multiline-quotes = double
max-line-length = 120
max-complexity = 12
exclude = .cache,.tox,__pycache__,.pytest_cache,*.pyc,.venv,.mypy_cache,docker/helm-runner/third_party/*,model_card_gen/intel_ai_safety/model_card_gen/model_card.py