parent
f3ee049ee1
commit
89aaae0186
|
@ -13,3 +13,15 @@ testpaths = [
|
||||||
"src/escpos",
|
"src/escpos",
|
||||||
"escpos",
|
"escpos",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
[[tool.mypy.overrides]]
|
||||||
|
module = ["pytest",
|
||||||
|
"jaconv",
|
||||||
|
"scripttest",
|
||||||
|
"barcode.*",
|
||||||
|
"qrcode",
|
||||||
|
"usb.*",
|
||||||
|
"cups",
|
||||||
|
"win32print"
|
||||||
|
]
|
||||||
|
ignore_missing_imports = true
|
||||||
|
|
|
@ -48,13 +48,13 @@ install_requires =
|
||||||
setup_requires = setuptools_scm
|
setup_requires = setuptools_scm
|
||||||
tests_require =
|
tests_require =
|
||||||
jaconv
|
jaconv
|
||||||
tox
|
tox>=4.11
|
||||||
pytest!=3.2.0,!=3.3.0
|
pytest>=7.4
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-mock
|
pytest-mock
|
||||||
scripttest
|
scripttest
|
||||||
mock
|
mock
|
||||||
hypothesis>4
|
hypothesis>=6.83
|
||||||
flake8
|
flake8
|
||||||
sphinxcontrib-spelling>=8.0.0
|
sphinxcontrib-spelling>=8.0.0
|
||||||
|
|
||||||
|
|
8
tox.ini
8
tox.ini
|
@ -17,10 +17,10 @@ deps = jaconv
|
||||||
coverage
|
coverage
|
||||||
scripttest
|
scripttest
|
||||||
mock
|
mock
|
||||||
pytest!=3.2.0,!=3.3.0
|
pytest>=7.4
|
||||||
pytest-cov
|
pytest-cov
|
||||||
pytest-mock
|
pytest-mock
|
||||||
hypothesis>4
|
hypothesis>=6.83
|
||||||
python-barcode
|
python-barcode
|
||||||
extras = all
|
extras = all
|
||||||
commands = pytest
|
commands = pytest
|
||||||
|
@ -51,9 +51,11 @@ commands = flake8
|
||||||
basepython = python
|
basepython = python
|
||||||
deps = mypy
|
deps = mypy
|
||||||
types-six
|
types-six
|
||||||
|
types-mock
|
||||||
types-PyYAML
|
types-PyYAML
|
||||||
types-appdirs
|
types-appdirs
|
||||||
types-Pillow
|
types-Pillow
|
||||||
types-pyserial
|
types-pyserial
|
||||||
|
hypothesis>=6.83
|
||||||
jaconv
|
jaconv
|
||||||
commands = mypy src
|
commands = mypy src test
|
||||||
|
|
Loading…
Reference in New Issue