diff options
| author | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-06 01:19:47 -0500 |
|---|---|---|
| committer | Mike Bayer <mike_mp@zzzcomputing.com> | 2019-01-06 18:23:11 -0500 |
| commit | 1e278de4cc9a4181e0747640a960e80efcea1ca9 (patch) | |
| tree | 13d0c035807613bfa07e734acad79b9c843cb8b0 /test/perf/orm2010.py | |
| parent | 1e1a38e7801f410f244e4bbb44ec795ae152e04e (diff) | |
| download | sqlalchemy-1e278de4cc9a4181e0747640a960e80efcea1ca9.tar.gz | |
Post black reformatting
Applied on top of a pure run of black -l 79 in
I7eda77fed3d8e73df84b3651fd6cfcfe858d4dc9, this set of changes
resolves all remaining flake8 conditions for those codes
we have enabled in setup.cfg.
Included are resolutions for all remaining flake8 issues
including shadowed builtins, long lines, import order, unused
imports, duplicate imports, and docstring issues.
Change-Id: I4f72d3ba1380dd601610ff80b8fb06a2aff8b0fe
Diffstat (limited to 'test/perf/orm2010.py')
| -rw-r--r-- | test/perf/orm2010.py | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/test/perf/orm2010.py b/test/perf/orm2010.py index fabfe533b..b40d3c846 100644 --- a/test/perf/orm2010.py +++ b/test/perf/orm2010.py @@ -1,5 +1,20 @@ +from decimal import Decimal +import os +import random import warnings +from sqlalchemy import __version__ +from sqlalchemy import Column +from sqlalchemy import create_engine +from sqlalchemy import ForeignKey +from sqlalchemy import Integer +from sqlalchemy import Numeric +from sqlalchemy import String +from sqlalchemy.ext.declarative import declarative_base +from sqlalchemy.orm import relationship +from sqlalchemy.orm import Session + + warnings.filterwarnings("ignore", r".*Decimal objects natively") # noqa # speed up cdecimal if available @@ -11,22 +26,6 @@ try: except ImportError: pass -from sqlalchemy import __version__ -from sqlalchemy import ( - Column, - Integer, - create_engine, - ForeignKey, - String, - Numeric, -) - -from sqlalchemy.orm import Session, relationship - -from sqlalchemy.ext.declarative import declarative_base -import random -import os -from decimal import Decimal Base = declarative_base() |
