forked from spacetelescope/calcloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
36 lines (31 loc) · 806 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
[tox]
envlist = black, flake8, bandit #, coverage, pytest
[testenv:black]
basepython = python3.7
extras = dev
whitelist_externals = black
commands=
black --check calcloud tests lambda ami_rotation scripts
[testenv:flake8]
basepython = python3.7
extras = dev
whitelist_externals = flake8
commands =
flake8 --count --ignore E501,W503,E203 --max-line-length 88 calcloud tests lambda ami_rotation
[testenv:bandit]
basepython = python3.7
extras = dev
whitelist_externals = bandit
commands =
bandit -ll -r -f txt calcloud tests lambda ami_rotation
# [testenv:pytest]
# extras = dev
# whitelist_externals = pytest
# commands =
# pytest
# [testenv:coverage]
# basepython = python3.7
# extras = dev
# whitelist_externals = pytest
# commands =
# pytest --cov=calcloud --cov-fail-under 95