forked from equinor/semeio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtox.ini
31 lines (27 loc) · 729 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
31
[tox]
envlist =
py37
style
[testenv]
deps = -rtest_requirements.txt
# The two following lines are a bit ugly,
# but is required until ert and libres are
# pip installable
passenv = PYTHONPATH LIBRES_TEST_DATA_DIR
sitepackages = true
commands = python -m pytest tests
[testenv:style]
deps = pre-commit
pylint==2.5.3 # Fixed in https://github.com/pytest-dev/pytest/pull/7565
{[testenv]deps}
commands = pre-commit run --all-files --show-diff-on-failure
[pytest]
addopts =
-ra
--durations=5
[flake8]
max-line-length = 88
exclude = tests/legacy_test_data
per-file-ignores =
semeio/jobs/overburden_timeshift/ots_vel_surface.py:E203
tests/jobs/overburden_timeshift/test_ots_integration.py:E203