python-escpos/tox.ini

44 lines
911 B
INI
Raw Permalink Normal View History

[tox]
2023-04-19 20:15:47 +00:00
envlist = py37, py38, py39, py310, py311, docs, flake8
2020-05-08 23:08:16 +00:00
[gh-actions]
python =
2.7: py27
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
2023-04-19 20:15:47 +00:00
3.11: py311
2020-05-08 23:08:16 +00:00
[testenv]
deps = nose
jaconv
coverage
2016-03-28 21:23:18 +00:00
scripttest
mock
pytest!=3.2.0,!=3.3.0
2016-08-30 11:09:29 +00:00
pytest-cov
pytest-mock
2020-05-08 22:39:41 +00:00
hypothesis>4
python-barcode
2020-05-08 22:27:58 +00:00
commands = pytest --cov escpos
2023-04-19 20:18:25 +00:00
passenv = ESCPOS_CAPABILITIES_PICKLE_DIR, ESCPOS_CAPABILITIES_FILE, CI, TRAVIS, TRAVIS_*, APPVEYOR, APPVEYOR_*, CODECOV_*
[testenv:docs]
basepython = python
changedir = doc
deps = sphinx>=3.0.0
setuptools_scm
python-barcode
sphinxcontrib-spelling>=7.2.0
sphinx_rtd_theme
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
2017-01-30 00:26:50 +00:00
[testenv:flake8]
basepython = python
2017-01-30 01:29:08 +00:00
# TODO add flake8-future
# TODO add flake8-docstrings
2017-01-30 00:26:50 +00:00
deps = flake8
commands = flake8