ecb7c1482f
The unmute-on-first-duration-change approach is to try to prevent clicks/pops that can happen at the start of recordings. If it doesn't solve the problem, we may need to drop down to the lower-level QAudioInput(). Closes https://github.com/ankitects/help-wanted/issues/23 May fix https://forums.ankiweb.net/t/anki-crashes-periodically-after-clicking-record-audio-button/5824, which I suspect was caused by processEvents()
34 lines
741 B
INI
34 lines
741 B
INI
[mypy]
|
|
python_version = 3.8
|
|
pretty = false
|
|
no_strict_optional = true
|
|
show_error_codes = true
|
|
check_untyped_defs = true
|
|
disallow_untyped_decorators = True
|
|
warn_redundant_casts = True
|
|
warn_unused_configs = True
|
|
strict_equality = 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-anki._rsbridge]
|
|
ignore_missing_imports = True
|
|
[mypy-stringcase]
|
|
ignore_missing_imports = True
|