From e0f34ccc9d3ed1eb3d2c3fbb50dd7ba7715af018 Mon Sep 17 00:00:00 2001 From: Luis Medel Date: Fri, 8 Nov 2024 22:38:19 +0100 Subject: [PATCH] Linter --- makesitex.py | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/makesitex.py b/makesitex.py index c34c01f..45f31e7 100755 --- a/makesitex.py +++ b/makesitex.py @@ -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