-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
42 lines (37 loc) · 1002 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 = {py38,py39,py310}, run_yapf
minversion = 2.5.0
recreate = True
skip_missing_interpreters = True
[testenv]
deps = pip>=21.3
pipenv>=9.0.1
setuptools>=75.1.0
toml
yapf
usedevelop = True
envdir = {toxinidir}/.venv
[testenv:py38]
basepython = python3.8
commands =
pipenv install --dev
pipenv run flake8 talleo_tip_bot_guilded/
pipenv run yapf -d -r talleo_tip_bot_guilded/
pipenv run sh {toxinidir}/gen_requirements.sh
[testenv:py39]
basepython = python3.9
commands =
pipenv install --dev
pipenv run flake8 talleo_tip_bot_guilded/
pipenv run yapf -d -r talleo_tip_bot_guilded/
pipenv run sh {toxinidir}/gen_requirements.sh
[testenv:py310]
basepython = python3.10
commands =
pipenv install --dev
pipenv run flake8 talleo_tip_bot_guilded/
pipenv run yapf -d -r talleo_tip_bot_guilded/
pipenv run sh {toxinidir}/gen_requirements.sh
[testenv:run_yapf]
commands =
pipenv run yapf -i -r talleo_tip_bot_guilded/