python-escpos/tox.ini

62 lines
1.3 KiB
INI
Raw Normal View History

[tox]
envlist = 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
3.12: py312
2020-05-08 23:08:16 +00:00
[testenv]
deps = jaconv
coverage
2016-03-28 21:23:18 +00:00
scripttest
mock
pytest>=7.4
2016-08-30 11:09:29 +00:00
pytest-cov
pytest-mock
hypothesis>=6.83
python-barcode
extras = all
commands = pytest
2023-04-19 20:18:25 +00:00
passenv = ESCPOS_CAPABILITIES_PICKLE_DIR, ESCPOS_CAPABILITIES_FILE, CI, TRAVIS, TRAVIS_*, APPVEYOR, APPVEYOR_*, CODECOV_*
setenv = PY_IGNORE_IMPORTMISMATCH=1
[testenv:docs]
basepython = python
changedir = doc
deps = sphinx>=7.2.3
setuptools_scm
python-barcode
sphinxcontrib-spelling>=8.0.0
sphinxcontrib.datatemplates
sphinx-autodoc-typehints
sphinx_rtd_theme
pycups
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
sphinx-build -W -b spelling -d {envtmpdir}/doctrees . {envtmpdir}/spelling
2017-01-30 00:26:50 +00:00
[testenv:flake8]
basepython = python
deps = flake8
flake8-docstrings
2017-01-30 00:26:50 +00:00
commands = flake8
[testenv:mypy]
basepython = python
deps = mypy
types-six
types-mock
types-PyYAML
types-appdirs
types-Pillow
types-pyserial
hypothesis>=6.83
jaconv
commands = mypy src test