Skip to content

Commit 306de6a

Browse files
committed
lint
1 parent b2802a4 commit 306de6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ruff.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ line-length = 100
33
extend-exclude = ["temp"]
44

55

6-
76
lint.select = [
87
"E", # pycodestyle errors
98
"W", # pycodestyle warnings
@@ -30,10 +29,11 @@ lint.ignore = [
3029
'F401', # unused imports
3130
'F841',
3231
'SIM102',
32+
#'SIM103', # needless-bool, return the condition {condition} directly
3333
'SIM105',
3434
'SIM108',
3535
'SIM115',
36-
'DTZ007', # Naive datetime constructed using `datetime.datetime.strptime()` without %z
36+
# 'DTZ007', # Naive datetime constructed using `datetime.datetime.strptime()` without %z
3737
]
3838

3939
[format]

0 commit comments

Comments
 (0)