Skip to content

Commit f66000c

Browse files
committed
refs #278 fix ruff error
Ignore another SIM102 error. This one would be much messier to combine the if statements. Looks like the .ruggignore is not working either!
1 parent d504891 commit f66000c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pysimplesql/pysimplesql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3919,7 +3919,7 @@ def __init__(self, title: str, config: dict = None):
39193919
raise ValueError("phrases must be a list of strings")
39203920

39213921
if "phrase_delay" in config:
3922-
if not all(isinstance(v, (int, float)) for v in config["phrase_delay"]):
3922+
if not all(isinstance(v, (int, float)) for v in config["phrase_delay"]): # noqa SIM102
39233923
raise ValueError("phrase_delay must be numeric")
39243924

39253925
self.config = {**default_config, **config}

0 commit comments

Comments
 (0)