From: Lele Gaifax Date: Wed, 26 Oct 2022 17:51:23 +0000 (+0200) Subject: Blackify X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9842b11926c06044392582429b00b34584233a88;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Blackify --- diff --git a/lib/sqlalchemy/dialects/postgresql/ranges.py b/lib/sqlalchemy/dialects/postgresql/ranges.py index c5c6c8f8d2..f5ce56c3f9 100644 --- a/lib/sqlalchemy/dialects/postgresql/ranges.py +++ b/lib/sqlalchemy/dialects/postgresql/ranges.py @@ -137,13 +137,13 @@ class Range(Generic[_T]): return False slower = self.lower - slower_inc = self.bounds[0] == '[' + slower_inc = self.bounds[0] == "[" supper = self.upper - supper_inc = self.bounds[1] == ']' + supper_inc = self.bounds[1] == "]" olower = other.lower - olower_inc = other.bounds[0] == '[' + olower_inc = other.bounds[0] == "[" oupper = other.upper - oupper_inc = other.bounds[1] == ']' + oupper_inc = other.bounds[1] == "]" # A bilateral unbound range contains any other range if olower is oupper is None: