From 1fc6a525462ef0f7fc8d7bc6900a7f1e9134cf76 Mon Sep 17 00:00:00 2001 From: Adrian Garcia Badaracco <1755071+adriangb@users.noreply.github.com> Date: Tue, 29 Nov 2022 10:46:00 -0600 Subject: [PATCH] Add mypy flags (#2472) --- setup.cfg | 6 ++++++ 1 file changed, 6 insertions(+) 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 -- 2.47.3