1
0
mirror of https://github.com/python-escpos/python-escpos synced 2025-08-24 09:03:34 +00:00

housekeeping tasks (#464)

* update settings to use black

* update python versions

* enquote version numbers

* update dependency

* set explicit build command

* add newline

* add command to checkout

* add run step

* chain

* sudo

* test

* newer sphinx version

* update sphinx

* clean up setuptools usage

* use tox

* install tox

* tox
This commit is contained in:
Patrick Kanzler
2021-10-30 22:21:34 +02:00
committed by GitHub
parent 8e5c600e20
commit 5bb0642b5d
7 changed files with 33 additions and 30 deletions

View File

@@ -1,5 +1,5 @@
[tox]
envlist = py35, py36, py37, py38, docs, flake8
envlist = py35, py36, py37, py38, py39, py310, docs, flake8
[gh-actions]
python =
@@ -7,6 +7,8 @@ python =
3.6: py36
3.7: py37
3.8: py38
3.9: py39
3.10: py310
[testenv]
deps = nose
@@ -25,10 +27,11 @@ passenv = ESCPOS_CAPABILITIES_PICKLE_DIR ESCPOS_CAPABILITIES_FILE CI TRAVIS TRAV
[testenv:docs]
basepython = python
changedir = doc
deps = sphinx>=1.5.1
deps = sphinx>=3.0.0
setuptools_scm
python-barcode
sphinxcontrib-spelling>=5
sphinxcontrib-spelling>=7.2.0
sphinx_rtd_theme
commands = sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[testenv:flake8]