From: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Date: Tue, 29 Nov 2022 16:46:00 +0000 (-0600) Subject: Add mypy flags (#2472) X-Git-Tag: 0.23.2~24 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1fc6a525462ef0f7fc8d7bc6900a7f1e9134cf76;p=thirdparty%2Fhttpx.git Add mypy flags (#2472) --- diff --git a/setup.cfg b/setup.cfg index 671b0812..27f18be4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -8,6 +8,12 @@ disallow_any_generics = True ignore_missing_imports = True no_implicit_optional = True show_error_codes = True +warn_unused_configs = True +disallow_subclassing_any = True +check_untyped_defs = True +disallow_untyped_decorators = True +warn_redundant_casts = True +strict_concatenate = True [mypy-tests.*] disallow_untyped_defs = False