get mypy configuration change from #547 (#567)

This commit is contained in:
Patrick Kanzler 2023-09-17 23:24:16 +02:00 committed by GitHub
parent f3ee049ee1
commit 89aaae0186
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 20 additions and 6 deletions

View File

@ -13,3 +13,15 @@ testpaths = [
"src/escpos",
"escpos",
]
[[tool.mypy.overrides]]
module = ["pytest",
"jaconv",
"scripttest",
"barcode.*",
"qrcode",
"usb.*",
"cups",
"win32print"
]
ignore_missing_imports = true

View File

@ -48,13 +48,13 @@ install_requires =
setup_requires = setuptools_scm
tests_require =
jaconv
tox
pytest!=3.2.0,!=3.3.0
tox>=4.11
pytest>=7.4
pytest-cov
pytest-mock
scripttest
mock
hypothesis>4
hypothesis>=6.83
flake8
sphinxcontrib-spelling>=8.0.0

View File

@ -17,10 +17,10 @@ deps = jaconv
coverage
scripttest
mock
pytest!=3.2.0,!=3.3.0
pytest>=7.4
pytest-cov
pytest-mock
hypothesis>4
hypothesis>=6.83
python-barcode
extras = all
commands = pytest
@ -51,9 +51,11 @@ commands = flake8
basepython = python
deps = mypy
types-six
types-mock
types-PyYAML
types-appdirs
types-Pillow
types-pyserial
hypothesis>=6.83
jaconv
commands = mypy src
commands = mypy src test