From 64d9e456b7445d6efc4b44df666ae76844fe9a6f Mon Sep 17 00:00:00 2001 From: Dylan Jeannin Date: Tue, 1 Sep 2026 18:13:02 +0200 Subject: [PATCH] Fix pep8 --- src/Meshing/Internal.py | 6 +++--- src/tools.py | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/src/Meshing/Internal.py b/src/Meshing/Internal.py index c665c0a7..f8489969 100644 --- a/src/Meshing/Internal.py +++ b/src/Meshing/Internal.py @@ -137,9 +137,9 @@ class InternalMeshing(AMeshingTool): p.points[k].z = pt1[k].z + \ dj*(pt2[k].z - pt1[k].z) - p.rk = round(profiles[i].rk + \ - dj*(profiles[i+1].rk - - profiles[i].rk), 2) + p.rk = round(profiles[i].rk + + dj*(profiles[i+1].rk - + profiles[i].rk), 2) p.name = f'interpol{p.rk}' p.interpolated = True new_profiles2.append(p) diff --git a/src/tools.py b/src/tools.py index 6422f808..7c1ea36c 100644 --- a/src/tools.py +++ b/src/tools.py @@ -278,7 +278,8 @@ def parse_datetime(value): + ", ".join(SUPPORTED_DATETIME_FORMATS) ) from iso_error - # If the parsed datetime has timezone information, convert it to UTC and remove the timezone info + # If the parsed datetime has timezone information, + # convert it to UTC and remove the timezone info if parsed.tzinfo is not None: parsed = parsed.astimezone(timezone.utc).replace(tzinfo=None)