-
Notifications
You must be signed in to change notification settings - Fork 26
/
tox.ini
42 lines (35 loc) · 850 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
32
33
34
35
36
37
38
39
40
41
42
[tox]
envlist =
py{38,39,310,311,312}
style
[testenv]
commands_pre = pip install ".[test]"
commands = python -m pytest tests
[testenv:style]
deps = pre-commit
pylint
commands = pre-commit run --all-files --show-diff-on-failure
[pytest]
addopts =
-ra
--durations=5
--ert-integration
markers =
integration: marks a test as an integration test
[flake8]
max-line-length = 88
exclude = tests/legacy_test_data
per-file-ignores =
semeio/forward_models/overburden_timeshift/ots_vel_surface.py:E203
tests/forward_models/overburden_timeshift/test_ots_integration.py:E203
semeio/forward_models/design2params/design2params.py:E501
semeio/forward_models/overburden_timeshift/ots.py:E501
[isort]
profile = black
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310
3.11: py311
3.12: py312