summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Jarrett <celttechie@gmail.com>2014-07-14 19:28:22 -0600
committerBrian Jarrett <celttechie@gmail.com>2014-07-14 19:28:22 -0600
commitf7967d2f085a4ca349f9f4b633aa7ffcacefd948 (patch)
tree1c357b20900471d0197694571c44820efab16e1b
parent8e35620345a2f9392dc4ea4a33f919525e6f228c (diff)
downloadsqlalchemy-pr/116.tar.gz
Manual fixes for style E501, etc. errors in util packagepr/116
-rw-r--r--lib/sqlalchemy/util/compat.py3
-rw-r--r--lib/sqlalchemy/util/langhelpers.py9
2 files changed, 7 insertions, 5 deletions
diff --git a/lib/sqlalchemy/util/compat.py b/lib/sqlalchemy/util/compat.py
index d663545ad..c748f672f 100644
--- a/lib/sqlalchemy/util/compat.py
+++ b/lib/sqlalchemy/util/compat.py
@@ -41,7 +41,8 @@ if py3k:
import builtins
from inspect import getfullargspec as inspect_getfullargspec
- from urllib.parse import quote_plus, unquote_plus, parse_qsl, quote, unquote
+ from urllib.parse import (quote_plus, unquote_plus,
+ parse_qsl, quote, unquote)
import configparser
from io import StringIO
diff --git a/lib/sqlalchemy/util/langhelpers.py b/lib/sqlalchemy/util/langhelpers.py
index 0ad92efbf..8d6fe5a28 100644
--- a/lib/sqlalchemy/util/langhelpers.py
+++ b/lib/sqlalchemy/util/langhelpers.py
@@ -206,9 +206,9 @@ def get_cls_kwargs(cls, _set=None):
"""Return the full set of inherited kwargs for the given `cls`.
Probes a class's __init__ method, collecting all named arguments. If the
- __init__ defines a \**kwargs catch-all, then the constructor is presumed to
- pass along unrecognized keywords to its base classes, and the collection
- process is repeated recursively on each of the bases.
+ __init__ defines a \**kwargs catch-all, then the constructor is presumed
+ to pass along unrecognized keywords to its base classes, and the
+ collection process is repeated recursively on each of the bases.
Uses a subset of inspect.getargspec() to cut down on method overhead.
No anonymous tuple arguments please !
@@ -1232,7 +1232,8 @@ def chop_traceback(tb, exclude_prefix=_UNITTEST_RE, exclude_suffix=_SQLA_RE):
a list of traceback lines as returned by ``traceback.format_stack()``
:param exclude_prefix:
- a regular expression object matching lines to skip at beginning of ``tb``
+ a regular expression object matching lines to skip at beginning of
+ ``tb``
:param exclude_suffix:
a regular expression object matching lines to skip at end of ``tb``