From a991364bfb90582673a27b0756d6c9c22cfd90bc Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 2 Aug 2020 10:29:25 +1000 Subject: [PATCH] check_untyped_defs can now be enabled globally for aqt A big thanks to Matt and phwoo who put in most of the work to get to this point. --- qt/mypy.ini | 48 +----------------------------------------------- 1 file changed, 1 insertion(+), 47 deletions(-) diff --git a/qt/mypy.ini b/qt/mypy.ini index e1f93a4e2..2e68b4a08 100644 --- a/qt/mypy.ini +++ b/qt/mypy.ini @@ -6,7 +6,7 @@ show_error_codes = true disallow_untyped_decorators = True warn_redundant_casts = True warn_unused_configs = True -#check_untyped_defs = true +check_untyped_defs = true [mypy-aqt.mpv] ignore_errors=true @@ -54,49 +54,3 @@ 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