Skip to content

Commit

Permalink
Linter
Browse files Browse the repository at this point in the history
  • Loading branch information
luismedel committed Nov 8, 2024
1 parent c526728 commit e0f34cc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion makesitex.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,17 @@ def to_bool(value: t.Any) -> bool:
elif isinstance(value, int):
return value != 0
elif isinstance(value, str):
return value.lower() in ("true", "yes", "ok", "si", "sí", "bai", "oui", "da", "1")
return value.lower() in (
"true",
"yes",
"ok",
"si",
"sí",
"bai",
"oui",
"da",
"1",
)
else:
return False

Expand Down

0 comments on commit e0f34cc

Please sign in to comment.