From 3f9da8e0f57678276ca8758a143d682006f2edba Mon Sep 17 00:00:00 2001 From: Marcelo Trylesinski Date: Wed, 30 Mar 2022 10:56:57 +0200 Subject: [PATCH] Bump `black` to 22.3.0 (#2153) * Bump black to 22.3.0 * Apply black --- httpx/_compat.py | 1 - requirements.txt | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/httpx/_compat.py b/httpx/_compat.py index ed61e98f60..e7680242e5 100644 --- a/httpx/_compat.py +++ b/httpx/_compat.py @@ -36,7 +36,6 @@ def set_minimum_tls_version_1_2(context: ssl.SSLContext) -> None: # https://docs.python.org/3.7/library/ssl.html#ssl.SSLContext.minimum_version context.minimum_version = ssl.TLSVersion.TLSv1_2 - else: def set_minimum_tls_version_1_2(context: ssl.SSLContext) -> None: diff --git a/requirements.txt b/requirements.txt index b135cf5335..44307ddd6f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,7 +17,7 @@ wheel==0.37.0 # Tests & Linting autoflake==1.4 -black==21.11b1 +black==22.3.0 coverage==6.0.2 cryptography==36.0.1 flake8==3.9.2