From 1e1a38e7801f410f244e4bbb44ec795ae152e04e Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 6 Jan 2019 01:14:26 -0500 Subject: Run black -l 79 against all source files This is a straight reformat run using black as is, with no edits applied at all. The black run will format code consistently, however in some cases that are prevalent in SQLAlchemy code it produces too-long lines. The too-long lines will be resolved in the following commit that will resolve all remaining flake8 issues including shadowed builtins, long lines, import order, unused imports, duplicate imports, and docstring issues. Change-Id: I7eda77fed3d8e73df84b3651fd6cfcfe858d4dc9 --- lib/sqlalchemy/__init__.py | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) (limited to 'lib/sqlalchemy/__init__.py') diff --git a/lib/sqlalchemy/__init__.py b/lib/sqlalchemy/__init__.py index 6162ead5c..171f23028 100644 --- a/lib/sqlalchemy/__init__.py +++ b/lib/sqlalchemy/__init__.py @@ -56,7 +56,7 @@ from .sql import ( union_all, update, within_group, - ) +) from .types import ( ARRAY, @@ -102,7 +102,7 @@ from .types import ( UnicodeText, VARBINARY, VARCHAR, - ) +) from .schema import ( @@ -123,14 +123,14 @@ from .schema import ( ThreadLocalMetaData, UniqueConstraint, DDL, - BLANK_SCHEMA + BLANK_SCHEMA, ) from .inspection import inspect from .engine import create_engine, engine_from_config -__version__ = '1.3.0b2' +__version__ = "1.3.0b2" def __go(lcls): @@ -141,8 +141,13 @@ def __go(lcls): import inspect as _inspect - __all__ = sorted(name for name, obj in lcls.items() - if not (name.startswith('_') or _inspect.ismodule(obj))) + __all__ = sorted( + name + for name, obj in lcls.items() + if not (name.startswith("_") or _inspect.ismodule(obj)) + ) _sa_util.dependencies.resolve_all("sqlalchemy") + + __go(locals()) -- cgit v1.2.1