forked from aws-cloudformation/cfn-lint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
48 lines (44 loc) · 837 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
45
46
47
48
[tox]
envlist = pylint{27,38}
[testenv]
commands =
pip install -e .
coverage run -m unittest discover -s {posargs:test}
skip_install = True
deps =
mock
coverage
pydot
setenv =
LANG=en_US.UTF-8
AWS_DEFAULT_REGION=us-east-1
COVERAGE_FILE = {env:COVERAGE_FILE:.coverage.{envname}}
[testenv:codecov]
deps =
coverage
codecov
skip_install = True
passenv = CI TRAVIS TRAVIS_*
setenv =
COVERAGE_FILE=.coverage
commands =
coverage erase
coverage combine
coverage report
codecov
[testenv:pylint38]
basepython = python3.8
deps =
pylint_quotes
pylint
commands =
pip install -e .
pylint --load-plugins pylint_quotes src/cfnlint
[testenv:pylint27]
basepython = python2.7
deps =
pylint_quotes
pylint
commands =
pip install -e .
pylint --ignored-modules=cfnlint --load-plugins pylint_quotes src/cfnlint