Skip to content

Commit 2bdcfdb

Browse files
committed
lint
1 parent 1382c83 commit 2bdcfdb

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

epidatpy/_endpoints.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def get_wildcard_equivalent_dates(
2525
if time_value == "*":
2626
if time_type == "day":
2727
return EpiRange("10000101", "30000101")
28-
elif time_type == "week":
28+
if time_type == "week":
2929
return EpiRange("100001", "300001")
3030
return time_value
3131

pyproject.toml

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ include = 'epidatpy'
77
max-line-length = 120
88
min-public-methods = 1
99
disable = [
10-
"R0801",
11-
"E1101",
12-
"E0611",
13-
"C0114",
14-
"C0116",
15-
"C0103",
16-
"R0913",
17-
"R0914",
18-
"W0702",
10+
"duplicate-code",
11+
"invalid-name",
12+
"missing-module-docstring",
13+
"missing-function-docstring",
14+
"too-many-arguments",
15+
"too-many-locals",
16+
"too-many-lines",
1917
"too-many-public-methods",
2018
"too-many-instance-attributes",
2119
]

0 commit comments

Comments
 (0)