From e9b16abf3db15dee0f7c9f391e78e52bd76ce317 Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Tue, 29 Mar 2022 03:21:40 +0200 Subject: [PATCH] ci: upgrade black This version is not affected by https://github.com/psf/black/issues/2964 and doesn't require pinning click. --- psycopg/setup.py | 3 +-- tests/constraints.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/psycopg/setup.py b/psycopg/setup.py index a9b646346..34fa87b6e 100644 --- a/psycopg/setup.py +++ b/psycopg/setup.py @@ -46,8 +46,7 @@ extras_require = { ], # Requirements needed for development "dev": [ - "black >= 22.1.0", - "click == 8.0.4", # https://github.com/psf/black/issues/2964 + "black >= 22.3.0", "dnspython >= 2.1", "flake8 >= 4.0", "mypy >= 0.940", diff --git a/tests/constraints.txt b/tests/constraints.txt index 0466350f3..ce4667d9d 100644 --- a/tests/constraints.txt +++ b/tests/constraints.txt @@ -16,7 +16,7 @@ pytest-cov == 3.0.0 pytest-randomly == 3.10.0 # From the 'dev' extra -black == 22.1.0 +black == 22.3.0 dnspython == 2.1.0 flake8 == 4.0.0 mypy == 0.940 -- 2.47.2