From d36d2faaceff255983a2baa5ef982936d2f4a6ae Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Fri, 28 Oct 2022 15:43:24 +0530 Subject: Disable various pylint checks on Connection class. * gn3/db_utils.py (Connection): Disable missing-class-docstring, missing-function-docstring and too-few-public-methods pylint checks. --- gn3/db_utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/gn3/db_utils.py b/gn3/db_utils.py index ead0c5b..af1024a 100644 --- a/gn3/db_utils.py +++ b/gn3/db_utils.py @@ -25,6 +25,7 @@ def database_connector() -> mdb.Connection: return mdb.connect(host, user, passwd, db_name, port=(db_port or 3306)) +# pylint: disable=missing-class-docstring, missing-function-docstring, too-few-public-methods class Connection(Protocol): def cursor(self) -> Any: ... -- cgit v1.2.3