File: tox.ini

package info (click to toggle)
python-uflash 1.2.4+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 316 kB
  • sloc: python: 773; makefile: 218; sh: 79
file content (21 lines) | stat: -rw-r--r-- 437 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[tox]
envlist = py27, py35, lint

[testenv]
commands = py.test --cov-report term-missing --cov=uflash {posargs:tests/}
deps =
    pytest
    pytest-cov
    coveralls
    nudatus
    # Mock is bundled as part of unittest since Python 3.3
    # mock_open can't read binary data in < 3.4.3
    py{27,34}: mock

[testenv:lint]
commands =
    pyflakes setup.py uflash.py tests/
    pep8 setup.py uflash.py tests/
deps =
    pyflakes
    pep8