forked from Map-A-Droid/MAD
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
44 lines (38 loc) · 677 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
43
44
[tox]
envlist=
lint
py{37,38}
PYTHONPATH = {toxinidir}:/usr/src/app
[testenv]
skip_install = true
usedevelop = true
deps =
-rrequirements.txt
-rrequirements-test.txt
commands =
{posargs:python -m pytest tests/}
whitelist_externals = bash
[testenv:lint]
deps = pre-commit
changedir = {toxinidir}
commands =
pre-commit run --all-files
whitelist_externals = bash
[pytest]
env_files =
docker/.dev.env
[flake8]
exclude =
.git,
mapadroid/utils/questGen.py,
mapadroid/tests/*,
scripts/*.py,
configs/*.py,
.tox
ignore = E402,W504,W503
max-line-length = 120
[gh-actions]
python =
3.6: py36
3.7: py37, lint
3.8: py38