forked from imjoy-team/imjoy-elfinder
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
38 lines (34 loc) · 691 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
[tox]
envlist = py37, py38, py39, py310, lint, mypy
skip_missing_interpreters = True
[gh-actions]
python =
3.7: py37, lint, mypy
3.8: py38
3.9: py39
3.10: py310
[testenv]
commands =
pytest --timeout=30 --cov=imjoy_elfinder --cov-report= {posargs}
deps =
-rrequirements.txt
-rrequirements_test.txt
[testenv:lint]
basepython = python3
ignore_errors = True
commands =
black --check ./
flake8 ./
pylint imjoy_elfinder setup.py tests
deps =
-rrequirements.txt
-rrequirements_lint.txt
-rrequirements_mypy.txt
-rrequirements_test.txt
[testenv:mypy]
basepython = python3
commands =
mypy imjoy_elfinder setup.py
deps =
-rrequirements.txt
-rrequirements_mypy.txt