forked from equinor/semeio
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
40 lines (33 loc) · 765 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
[tox]
envlist =
py{38,39,310}
style
[testenv]
deps = -rtest_requirements.txt
commands = python -m pytest tests
[testenv:style]
deps = pre-commit
pylint
{[testenv]deps}
commands = pre-commit run --all-files --show-diff-on-failure
[pytest]
addopts =
-ra
--durations=5
markers =
integration: marks a test as an integration test
[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
semeio/jobs/design2params/design2params.py:E501
semeio/jobs/overburden_timeshift/ots.py:E501
[isort]
profile = black
[gh-actions]
python =
3.8: py38
3.9: py39
3.10: py310