forked from oasis-open/cti-pattern-matcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
41 lines (34 loc) · 633 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
[tox]
envlist = py27,py34,py35,py36,py37,py38,style,isort-check
[testenv]
deps =
-U
tox
pytest
pytest-cov
coverage
commands =
py.test --cov=stix2matcher stix2matcher/test/ --cov-report term-missing
passenv = CI TRAVIS TRAVIS_*
[testenv:style]
deps =
flake8
commands =
flake8 ./stix2matcher
[testenv:isort-check]
deps = isort
commands =
isort stix2matcher --df
isort stix2matcher -c
[pycodestyle]
max-line-length=160
[flake8]
max-line-length=160
[travis]
python =
2.7: py27, style
3.4: py34, style
3.5: py35, style
3.6: py36, style, isort-check
3.7: py37, style
3.8: py38, style