From b00833bd395fc502ae26bbc20797abc96da795c1 Mon Sep 17 00:00:00 2001 From: Marcel Robitaille Date: Mon, 22 Feb 2021 10:18:29 -0500 Subject: [PATCH] [pylint] Torch also does weird generated stuff --- pylint/pylintrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylint/pylintrc b/pylint/pylintrc index 16d06e8..c9769d2 100644 --- a/pylint/pylintrc +++ b/pylint/pylintrc @@ -431,7 +431,7 @@ contextmanager-decorators=contextlib.contextmanager # List of members which are set dynamically and missed by pylint inference # system, and so shouldn't trigger E1101 when accessed. Python regular # expressions are accepted. -generated-members=coolwarm +generated-members=coolwarm,torch.* # Tells whether missing members accessed in mixin class should be ignored. A # mixin class is detected if its name ends with "mixin" (case insensitive).