From b08443da699a2d929657fad4fdee431a2b277e7e Mon Sep 17 00:00:00 2001 From: BonfaceKilz Date: Sat, 10 Jul 2021 09:24:26 +0300 Subject: Fix pylint issues --- gn3/db/phenotypes.py | 2 +- tests/unit/db/test_db.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/gn3/db/phenotypes.py b/gn3/db/phenotypes.py index 147cbf3..0ed22d4 100644 --- a/gn3/db/phenotypes.py +++ b/gn3/db/phenotypes.py @@ -110,7 +110,7 @@ class Probeset: description: Optional[str] = None probe_target_description: Optional[str] = None chr_: Optional[str] = None - mb: Optional[float] = None + mb: Optional[float] = None # pylint: disable=C0103 alias: Optional[str] = None geneid: Optional[str] = None homologeneid: Optional[str] = None diff --git a/tests/unit/db/test_db.py b/tests/unit/db/test_db.py index 056c226..e47c9fd 100644 --- a/tests/unit/db/test_db.py +++ b/tests/unit/db/test_db.py @@ -96,6 +96,7 @@ class TestCrudMethods(TestCase): "dataset_id = %s AND editor = %s"), (35, 'Rob')) + # pylint: disable=R0201 def test_probeset_called_with_right_columns(self): """Given a columns argument, test that the correct sql query is constructed""" -- cgit v1.2.3