diff options
author | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-03-28 15:52:27 -0400 |
---|---|---|
committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2022-03-28 15:58:35 -0400 |
commit | c90396fbe7424c481f8f4ee18b6cedd1fa09c711 (patch) | |
tree | 6abf98023e15fb2ba81c3af3ccb5583de5b94919 /lib/sqlalchemy/sql/schema.py | |
parent | bbd6420b39edb24481f171b8d0081149dd2e5ba7 (diff) | |
download | sqlalchemy-c90396fbe7424c481f8f4ee18b6cedd1fa09c711.tar.gz |
bump black to 22.3.0
both black and click were released in the past
few hours, and black 21.5b1 seems to suddenly
be failing on a missing symbol from click. just
update to the latest
Change-Id: Idf76732479a264f7f2245699a6bdaff018e3a123
Diffstat (limited to 'lib/sqlalchemy/sql/schema.py')
-rw-r--r-- | lib/sqlalchemy/sql/schema.py | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/lib/sqlalchemy/sql/schema.py b/lib/sqlalchemy/sql/schema.py index 9924e632b..7206cfdba 100644 --- a/lib/sqlalchemy/sql/schema.py +++ b/lib/sqlalchemy/sql/schema.py @@ -4329,14 +4329,10 @@ class PrimaryKeyConstraint(ColumnCollectionConstraint): if col.autoincrement is True: _validate_autoinc(col, True) return col - elif ( - col.autoincrement - in ( - "auto", - "ignore_fk", - ) - and _validate_autoinc(col, False) - ): + elif col.autoincrement in ( + "auto", + "ignore_fk", + ) and _validate_autoinc(col, False): return col else: |