mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
169 lines
3.7 KiB
INI
169 lines
3.7 KiB
INI
[mypy]
|
|
python_version = 3.9
|
|
pretty = False
|
|
strict_optional = False
|
|
show_error_codes = True
|
|
check_untyped_defs = True
|
|
disallow_untyped_decorators = True
|
|
warn_redundant_casts = True
|
|
warn_unused_configs = True
|
|
strict_equality = True
|
|
namespace_packages = True
|
|
explicit_package_bases = True
|
|
mypy_path =
|
|
pylib,
|
|
out/pylib,
|
|
qt,
|
|
out/qt,
|
|
ftl,
|
|
pylib/tools,
|
|
python
|
|
exclude = (pylib/anki/_vendor)
|
|
|
|
[mypy-anki.*]
|
|
disallow_untyped_defs = True
|
|
[mypy-anki.importing.*]
|
|
disallow_untyped_defs = False
|
|
[mypy-anki.exporting]
|
|
disallow_untyped_defs = False
|
|
[mypy-aqt]
|
|
strict_optional = True
|
|
[mypy-aqt.browser.*]
|
|
strict_optional = True
|
|
[mypy-aqt.data.*]
|
|
strict_optional = True
|
|
[mypy-aqt.forms.*]
|
|
strict_optional = True
|
|
[mypy-aqt.import_export.*]
|
|
strict_optional = True
|
|
[mypy-aqt.operations.*]
|
|
strict_optional = True
|
|
[mypy-aqt.editor]
|
|
strict_optional = True
|
|
[mypy-aqt.importing]
|
|
strict_optional = True
|
|
[mypy-aqt.preferences]
|
|
strict_optional = True
|
|
[mypy-aqt.overview]
|
|
strict_optional = True
|
|
[mypy-aqt.customstudy]
|
|
strict_optional = True
|
|
[mypy-aqt.taglimit]
|
|
strict_optional = True
|
|
[mypy-aqt.modelchooser]
|
|
strict_optional = True
|
|
[mypy-aqt.deckdescription]
|
|
strict_optional = True
|
|
[mypy-aqt.deckbrowser]
|
|
strict_optional = True
|
|
[mypy-aqt.studydeck]
|
|
strict_optional = True
|
|
[mypy-aqt.tts]
|
|
strict_optional = True
|
|
[mypy-aqt.mediasrv]
|
|
strict_optional = True
|
|
[mypy-aqt.changenotetype]
|
|
strict_optional = True
|
|
[mypy-aqt.clayout]
|
|
strict_optional = True
|
|
[mypy-aqt.fields]
|
|
strict_optional = True
|
|
[mypy-aqt.filtered_deck]
|
|
strict_optional = True
|
|
[mypy-aqt.editcurrent]
|
|
strict_optional = True
|
|
[mypy-aqt.deckoptions]
|
|
strict_optional = True
|
|
[mypy-aqt.notetypechooser]
|
|
strict_optional = True
|
|
[mypy-aqt.stats]
|
|
strict_optional = True
|
|
[mypy-aqt.switch]
|
|
strict_optional = True
|
|
[mypy-aqt.debug_console]
|
|
strict_optional = True
|
|
[mypy-aqt.emptycards]
|
|
strict_optional = True
|
|
[mypy-aqt.flags]
|
|
strict_optional = True
|
|
[mypy-aqt.mediacheck]
|
|
strict_optional = True
|
|
[mypy-aqt.theme]
|
|
strict_optional = True
|
|
[mypy-aqt.toolbar]
|
|
strict_optional = True
|
|
[mypy-aqt.deckchooser]
|
|
strict_optional = True
|
|
[mypy-aqt.about]
|
|
strict_optional = True
|
|
[mypy-aqt.webview]
|
|
strict_optional = True
|
|
[mypy-aqt.mediasync]
|
|
strict_optional = True
|
|
[mypy-aqt.package]
|
|
strict_optional = True
|
|
[mypy-aqt.progress]
|
|
strict_optional = True
|
|
[mypy-aqt.tagedit]
|
|
strict_optional = True
|
|
[mypy-aqt.utils]
|
|
strict_optional = True
|
|
[mypy-aqt.sync]
|
|
strict_optional = True
|
|
[mypy-anki.scheduler.base]
|
|
strict_optional = True
|
|
[mypy-anki._backend.rsbridge]
|
|
ignore_missing_imports = True
|
|
[mypy-anki._vendor.stringcase]
|
|
disallow_untyped_defs = False
|
|
[mypy-stringcase]
|
|
ignore_missing_imports = True
|
|
[mypy-aqt.mpv]
|
|
disallow_untyped_defs = False
|
|
ignore_errors = True
|
|
[mypy-aqt.winpaths]
|
|
disallow_untyped_defs = False
|
|
|
|
[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-fluent.*]
|
|
ignore_missing_imports = True
|
|
[mypy-compare_locales.*]
|
|
ignore_missing_imports = True
|
|
[mypy-PyQt5.*]
|
|
ignore_errors = True
|
|
ignore_missing_imports = True
|
|
[mypy-send2trash]
|
|
ignore_missing_imports = True
|
|
[mypy-win32com.*]
|
|
ignore_missing_imports = True
|
|
[mypy-jsonschema.*]
|
|
ignore_missing_imports = True
|
|
[mypy-socks]
|
|
ignore_missing_imports = True
|
|
[mypy-pythoncom]
|
|
ignore_missing_imports = True
|
|
[mypy-snakeviz.*]
|
|
ignore_missing_imports = True
|
|
[mypy-wheel.*]
|
|
ignore_missing_imports = True
|
|
[mypy-pip_system_certs.*]
|
|
ignore_missing_imports = True
|
|
[mypy-anki_audio]
|
|
ignore_missing_imports = True
|