mirror of
https://github.com/micropython/micropython.git
synced 2026-01-08 05:00:26 +01:00
all: Go back to using default ruff quote style.
Commit dc2fcfcc55 seems to have accidentally
changed the ruff quote style to "preserve", instead of keeping it at the
default which is "double".
Put it back to the default and update relevant .py files with this rule.
Signed-off-by: Damien George <damien@micropython.org>
This commit is contained in:
@@ -52,6 +52,6 @@ for function_name, function, test_vals in functions:
|
||||
except ValueError as e:
|
||||
ans = str(e)
|
||||
# a tiny error in REPR_C value for 1.5204998778 causes a wrong rounded value
|
||||
if is_REPR_C and function_name == 'erfc' and ans == "1.521":
|
||||
if is_REPR_C and function_name == "erfc" and ans == "1.521":
|
||||
ans = "1.52"
|
||||
print("{}({:.4g}) = {}".format(function_name, value, ans))
|
||||
|
||||
Reference in New Issue
Block a user