From 25b8388e15b25c8450c9c991484a0fc3eafd2c99 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Tue, 3 Dec 2024 16:12:36 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- jupyter_server_proxy/standalone/__init__.py | 4 +++- jupyter_server_proxy/standalone/proxy.py | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/jupyter_server_proxy/standalone/__init__.py b/jupyter_server_proxy/standalone/__init__.py index 199b1f05..93ad90ac 100644 --- a/jupyter_server_proxy/standalone/__init__.py +++ b/jupyter_server_proxy/standalone/__init__.py @@ -1,4 +1,6 @@ -from __future__ import annotations # Allows type subscripts (like tuple[str, int]) in Python 3.8 +from __future__ import ( + annotations, # Allows type subscripts (like tuple[str, int]) in Python 3.8 +) import argparse import logging diff --git a/jupyter_server_proxy/standalone/proxy.py b/jupyter_server_proxy/standalone/proxy.py index 22fc3660..fdc1cb98 100644 --- a/jupyter_server_proxy/standalone/proxy.py +++ b/jupyter_server_proxy/standalone/proxy.py @@ -1,4 +1,6 @@ -from __future__ import annotations # Allows type subscripts (like tuple[str, int]) in Python 3.8 +from __future__ import ( + annotations, # Allows type subscripts (like tuple[str, int]) in Python 3.8 +) import os import re