diff options
author | Arun Isaac | 2022-10-28 15:43:24 +0530 |
---|---|---|
committer | Arun Isaac | 2022-10-28 15:44:56 +0530 |
commit | d36d2faaceff255983a2baa5ef982936d2f4a6ae (patch) | |
tree | b689a438441c9b08dab3ccaf2310e8fd41729402 | |
parent | 60e2ca08beb9a9d5795f0a44df096fc6c0bc2583 (diff) | |
download | genenetwork3-d36d2faaceff255983a2baa5ef982936d2f4a6ae.tar.gz |
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.
-rw-r--r-- | gn3/db_utils.py | 1 |
1 files changed, 1 insertions, 0 deletions
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: ... |