From f24fc1513263455029ab6a0927e6cce9994822e8 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:27:27 +0000 Subject: [PATCH 1/2] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 23.12.1 → 24.1.1](https://github.com/psf/black/compare/23.12.1...24.1.1) - [github.com/PyCQA/flake8: 6.1.0 → 7.0.0](https://github.com/PyCQA/flake8/compare/6.1.0...7.0.0) --- .pre-commit-config.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index e65743e6..18e78e11 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -36,7 +36,7 @@ repos: # Autoformat: Python code - repo: https://github.com/psf/black - rev: 23.12.1 + rev: 24.1.1 hooks: - id: black @@ -66,7 +66,7 @@ repos: # Lint: Python code - repo: https://github.com/PyCQA/flake8 - rev: "6.1.0" + rev: "7.0.0" hooks: - id: flake8 From 8f407d9f29829bfc89733c4a428aa8bca5603668 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 5 Feb 2024 20:29:56 +0000 Subject: [PATCH 2/2] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- jupyterhub_traefik_proxy/redis.py | 1 + setup.py | 1 - tests/test_traefik_api_auth.py | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/jupyterhub_traefik_proxy/redis.py b/jupyterhub_traefik_proxy/redis.py index 83251694..d3b26af9 100644 --- a/jupyterhub_traefik_proxy/redis.py +++ b/jupyterhub_traefik_proxy/redis.py @@ -1,4 +1,5 @@ """Redis backend""" + import asyncio from urllib.parse import urlparse diff --git a/setup.py b/setup.py index 58da1d79..b129cdd0 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,6 @@ pip install [-e] . """ - from setuptools import find_packages, setup with open("README.md", encoding="utf8") as f: diff --git a/tests/test_traefik_api_auth.py b/tests/test_traefik_api_auth.py index 1b1f0c97..5eace439 100644 --- a/tests/test_traefik_api_auth.py +++ b/tests/test_traefik_api_auth.py @@ -1,4 +1,5 @@ """Tests for the authentication to the traefik proxy api (dashboard)""" + import pytest from jupyterhub.utils import exponential_backoff from tornado.httpclient import AsyncHTTPClient