Skip to content

Commit 5986293

Browse files
Jingjing TangJingjing Tang
Jingjing Tang
authored and
Jingjing Tang
committed
fixed linter errors
1 parent 4230e39 commit 5986293

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

quidel/.pylintrc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[DESIGN]
2+
3+
min-public-methods=1
4+
5+
6+
[MESSAGES CONTROL]
7+
8+
disable=R0801, C0330, E1101, E0611, C0114, C0116, C0103, R0913, R0914, W0702, W0212, E1136

quidel/delphi_quidel/pull.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,9 @@ def compare_dates(date1, date2, flag):
3333
if flag == "l":
3434
return date1
3535
return date2
36-
else:
37-
if flag == "l":
38-
return date2
39-
return date1
36+
if flag == "l":
37+
return date2
38+
return date1
4039

4140
def check_whether_date_in_range(search_date, start_date, end_date):
4241
"""

quidel/delphi_quidel/run.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"""Functions to call when running the function.
33
44
This module should contain a function called `run_module`, that is executed
5-
when the module is run with `python -m MODULE_NAME`.
5+
when the module is run with `python -m delphi_quidel`.
66
"""
77
from delphi_utils import read_params
88

0 commit comments

Comments
 (0)