-
Notifications
You must be signed in to change notification settings - Fork 0
/
tox.ini
31 lines (28 loc) · 1.01 KB
/
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
# Copyright (c) CloudZero, Inc. All rights reserved.
# Licensed under the MIT License. See LICENSE file in the project root for full license information.
[pytest] # This is for when you're just running py.test directly.
addopts =
--doctest-modules
--showlocals
--ignore=setup.py
python_files=test_*.py !check_*.py !legacy_*.py
norecursedirs=.git .svn .tox build config log logs tmp* legacy data vagrant locust
# ^ NO TRAILING SLASHES ON DIRECTORIES!!
[tox]
envlist =
py37
[testenv]
deps = -rrequirements-dev.txt
setenv = PYTHONPATH = {toxinidir}
commands =
flake8 \
--max-line-length=120 \
--ignore=E265,E266,E402,E501 \
--exclude=.tox,conftest.py,build,node_modules
pytest \
--doctest-modules \
--cov dynotool \
--cov-report term \
--ignore=setup.py \
--ignore=node_modules \
-vvv