mirror of
https://github.com/cmur2/python-bme680.git
synced 2026-04-05 14:18:43 +02:00
Test suites and code QA fixes
This commit is contained in:
25
library/tox.ini
Normal file
25
library/tox.ini
Normal file
@@ -0,0 +1,25 @@
|
||||
[tox]
|
||||
envlist = py{27,35},qa
|
||||
skip_missing_interpreters = True
|
||||
|
||||
[testenv]
|
||||
commands =
|
||||
python setup.py install
|
||||
coverage run -m py.test -v -r wsx
|
||||
coverage report
|
||||
deps =
|
||||
mock
|
||||
pytest>=3.1
|
||||
pytest-cov
|
||||
|
||||
[testenv:qa]
|
||||
commands =
|
||||
flake8
|
||||
flake8 tests/
|
||||
flake8 ../examples/
|
||||
rstcheck README.rst
|
||||
deps =
|
||||
flake8
|
||||
flake8-docstrings
|
||||
flake8-quotes
|
||||
rstcheck
|
||||
Reference in New Issue
Block a user