From d76b3c6fb41fa7593f23d3cc8440a166d47bd4bb Mon Sep 17 00:00:00 2001 From: Jirka Borovec Date: Tue, 5 Jan 2021 22:00:53 +0100 Subject: [PATCH] skip mypy (cherry picked from commit dfdd709bbc4e823b7fef34a424feeb813202fa8d) --- setup.cfg | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/setup.cfg b/setup.cfg index 4a9af5e..b94b96b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -58,3 +58,23 @@ NO_SPACES_AROUND_SELECTED_BINARY_OPERATORS = false files = torchmetrics disallow_untyped_defs = True ignore_missing_imports = True + +# todo: add proper typing to this module... +[mypy-torchmetrics.metric] +ignore_errors = True + +# todo: add proper typing to this module... +[mypy-torchmetrics.utils] +ignore_errors = True + +# todo: add proper typing to this module... +[mypy-torchmetrics.classification.*] +ignore_errors = True + +# todo: add proper typing to this module... +[mypy-torchmetrics.functional.*] +ignore_errors = True + +# todo: add proper typing to this module... +[mypy-torchmetrics.regression.*] +ignore_errors = True