anki/qt/mypy.ini

66 lines
1.4 KiB
INI

[mypy]
python_version = 3.8
no_strict_optional = true
show_error_codes = true
disallow_untyped_decorators = True
warn_redundant_casts = True
warn_unused_configs = True
check_untyped_defs = true
disallow_untyped_defs = True
strict_equality = true
[mypy-aqt.winpaths]
disallow_untyped_defs=false
[mypy-aqt.mpv]
disallow_untyped_defs=false
ignore_errors=true
[mypy-pyaudio]
ignore_missing_imports = True
[mypy-win32file]
ignore_missing_imports = True
[mypy-win32pipe]
ignore_missing_imports = True
[mypy-pywintypes]
ignore_missing_imports = True
[mypy-winerror]
ignore_missing_imports = True
[mypy-distro]
ignore_missing_imports = True
[mypy-win32api]
ignore_missing_imports = True
[mypy-xml.dom]
ignore_missing_imports = True
[mypy-psutil]
ignore_missing_imports = True
[mypy-bs4]
ignore_missing_imports = True
[mypy-pythoncom]
ignore_missing_imports = True
[mypy-win32com]
ignore_missing_imports = True
[mypy-send2trash]
ignore_missing_imports = True
[mypy-markdown]
ignore_missing_imports = True
[mypy-jsonschema.*]
ignore_missing_imports = True
[mypy-anki._rsbridge]
ignore_missing_imports = True
[mypy-PyQt5.sip]
ignore_missing_imports = True
[mypy-PyQt5.*]
ignore_errors = True
[mypy-win32com.client]
ignore_missing_imports = True
[mypy-darkdetect]
ignore_missing_imports = True
[mypy-socks]
ignore_missing_imports = True
[mypy-aqt.forms.*]
check_untyped_defs=false
disallow_untyped_defs=false
[mypy-anki.*]
disallow_untyped_defs=false