summaryrefslogtreecommitdiff
path: root/examples/performance/__init__.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2019-01-06 01:19:47 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2019-01-06 18:23:11 -0500
commit1e278de4cc9a4181e0747640a960e80efcea1ca9 (patch)
tree13d0c035807613bfa07e734acad79b9c843cb8b0 /examples/performance/__init__.py
parent1e1a38e7801f410f244e4bbb44ec795ae152e04e (diff)
downloadsqlalchemy-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 'examples/performance/__init__.py')
-rw-r--r--examples/performance/__init__.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/performance/__init__.py b/examples/performance/__init__.py
index b66199f3c..f1f59026c 100644
--- a/examples/performance/__init__.py
+++ b/examples/performance/__init__.py
@@ -31,8 +31,8 @@ individual suites to be run::
-h, --help show this help message and exit
--test TEST run specific test name
--dburl DBURL database URL, default sqlite:///profile.db
- --num NUM Number of iterations/items/etc for tests; default is 0
- module-specific
+ --num NUM Number of iterations/items/etc for tests;
+ default is module-specific
--profile run profiling and dump call counts
--dump dump full call profile (implies --profile)
--runsnake invoke runsnakerun (implies --profile)
@@ -217,14 +217,14 @@ As well as see RunSnake output for an individual test::
$ python test_loads.py --num 100 --runsnake --test test_joinedload
-"""
+""" # noqa
import argparse
import cProfile
-import pstats
import os
-import time
+import pstats
import re
import sys
+import time
class Profiler(object):