From 646c1431c54e91614c1851272a4c8f7d395be7fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Sat, 16 Nov 2024 00:58:44 +0100 Subject: [PATCH] chg: Python 3.9+ --- .pre-commit-config.yaml | 2 +- website/web/proxied.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c654d01..f9615b7 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -13,4 +13,4 @@ repos: rev: v3.19.0 hooks: - id: pyupgrade - args: [--py38-plus] + args: [--py39-plus] diff --git a/website/web/proxied.py b/website/web/proxied.py index d706da9..52fcf3e 100644 --- a/website/web/proxied.py +++ b/website/web/proxied.py @@ -1,5 +1,6 @@ #!/usr/bin/env python -from typing import Any, MutableMapping +from typing import Any +from collections.abc import MutableMapping class ReverseProxied():