black (still without mortimer)

This commit is contained in:
Noe Brucy
2023-01-30 12:12:14 +01:00
parent 8c3db9b7cb
commit 1a8db42d29
11 changed files with 474 additions and 99 deletions
+3 -3
View File
@@ -11,9 +11,9 @@ _dir_path = os.path.dirname(os.path.realpath(__file__))
# Add support for '1e3' kind of float
_loader = yaml.SafeLoader
_loader.add_implicit_resolver(
u"tag:yaml.org,2002:float",
"tag:yaml.org,2002:float",
re.compile(
u"""^(?:
"""^(?:
[-+]?(?:[0-9][0-9_]*)\\.[0-9_]*(?:[eE][-+]?[0-9]+)?
|[-+]?(?:[0-9][0-9_]*)(?:[eE][-+]?[0-9]+)
|\\.[0-9_]+(?:[eE][-+][0-9]+)?
@@ -22,7 +22,7 @@ _loader.add_implicit_resolver(
|\\.(?:nan|NaN|NAN))$""",
re.X,
),
list(u"-+0123456789."),
list("-+0123456789."),
)