From 5db40120e0a26977a228f4980e0a1b9d9f63beb8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Fri, 20 Oct 2023 17:38:29 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- jupyterlab_server/_version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterlab_server/_version.py b/jupyterlab_server/_version.py index e7f334b1..ddbde76d 100644 --- a/jupyterlab_server/_version.py +++ b/jupyterlab_server/_version.py @@ -12,7 +12,7 @@ # Build up version_info tuple for backwards compatibility pattern = r"(?P\d+).(?P\d+).(?P\d+)(?P.*)" match = re.match(pattern, __version__) -assert match is not None # noqa +assert match is not None parts: list = [int(match[part]) for part in ["major", "minor", "patch"]] if match["rest"]: parts.append(match["rest"])