-
Notifications
You must be signed in to change notification settings - Fork 19
/
tox.ini
34 lines (32 loc) · 818 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
# from <https://github.com/home-assistant/home-assistant/blob/dev/tox.ini>
[tox]
envlist = lint
skip_missing_interpreters = True
[testenv]
setenv =
; both temper-python and XBee modules have utf8 in their README files
; which get read in from setup.py. If we don't force our locale to a
; utf8 one, tox's env is reset. And the install of these 2 packages
; fail.
LANG=C.UTF-8
PYTHONPATH = {toxinidir}:{toxinidir}/compal
commands =
py.test
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/requirements_test.txt
[testenv:lint]
skip_install = true
commands =
flake8 compal setup.py
black --check --diff compal setup.py
python setup.py sdist
twine check dist/*
check-manifest
deps =
flake8
black
isort[pyproject]
readme_renderer
twine
check-manifest