anki/qt/mypy.ini
2020-07-31 21:00:08 -06:00

103 lines
2.2 KiB
INI

[mypy]
python_version = 3.7
pretty = true
no_strict_optional = true
show_error_codes = true
disallow_untyped_decorators = True
warn_redundant_casts = True
warn_unused_configs = True
#check_untyped_defs = true
[mypy-aqt.mpv]
ignore_errors=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-pyaudio]
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-ankirspy]
ignore_missing_imports = True
[mypy-PyQt5.sip]
ignore_missing_imports = 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
[mypy-aqt.tagedit]
check_untyped_defs=true
[mypy-aqt.fields]
check_untyped_defs=true
[mypy-aqt.clayout]
check_untyped_defs=true
[mypy-aqt.preferences]
check_untyped_defs=true
[mypy-aqt.deckbrowser]
check_untyped_defs=true
[mypy-aqt.deckchooser]
check_untyped_defs=true
[mypy-aqt.dyndeckconf]
check_untyped_defs=true
[mypy-aqt.models]
check_untyped_defs=true
[mypy-aqt.errors]
check_untyped_defs=true
[mypy-aqt.importing]
check_untyped_defs=true
[mypy-aqt.deckconf]
check_untyped_defs=true
[mypy-aqt.taglimit]
check_untyped_defs=true
[mypy-aqt.update]
check_untyped_defs=true
[mypy-aqt.browser]
check_untyped_defs=true
[mypy-aqt.editor]
check_untyped_defs=true
[mypy-aqt.exporting]
check_untyped_defs=true
[mypy-aqt.modelchooser]
check_untyped_defs=true
[mypy-aqt.webview]
check_untyped_defs=true
[mypy-aqt.addons]
check_untyped_defs=true
[mypy-aqt.emptycards]
check_untyped_defs=true
[mypy-aqt.profiles]
check_untyped_defs=true
[mypy-aqt.main]
check_untyped_defs=true
[mypy-aqt.progress]
check_untyped_defs=true