aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-07-10 09:24:26 +0300
committerBonfaceKilz2021-07-10 09:24:26 +0300
commitb08443da699a2d929657fad4fdee431a2b277e7e (patch)
treed0cebc7d68982202e1a196b116b1d9260ce34f64
parentca5738e471672a1ae681ee5f439f1104c27a7cc6 (diff)
downloadgenenetwork3-b08443da699a2d929657fad4fdee431a2b277e7e.tar.gz
Fix pylint issues
-rw-r--r--gn3/db/phenotypes.py2
-rw-r--r--tests/unit/db/test_db.py1
2 files changed, 2 insertions, 1 deletions
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"""