-
Notifications
You must be signed in to change notification settings - Fork 251
Expand file tree
/
Copy pathtox.ini
More file actions
45 lines (40 loc) · 815 Bytes
/
tox.ini
File metadata and controls
45 lines (40 loc) · 815 Bytes
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
45
[tox]
minversion = 1.4
skipsdist = True
envlist = py{27,36,37,38,39,310,311,312}
[testenv]
deps =
pytest
pytest-cov
pytest-asyncio
.[async]
usedevelop = True
commands =
py.test -v {posargs}
passenv =
TENCENTCLOUD_SECRET_ID
TENCENTCLOUD_SECRET_KEY
TENCENTCLOUD_ROLE_ARN
HTTPS_PROXY
[testenv:py27]
deps =
pytest
pytest-cov
commands =
py.test -v --ignore-glob='*_async.py' {posargs}
[testenv:coveralls]
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH COVERALLS_REPO_TOKEN
deps =
{[testenv]deps}
coveralls
commands =
py.test --cov {toxinidir}/tencentcloud {toxinidir}/tests
coveralls
[testenv:pep8]
deps = pycodestyle
commands =
pycodestyle
[pycodestyle]
ignore = E501
exclude=.tox/,doc/,tencentcloud/,examples/,QcloudApi/,build/
show-source = True