PEP 8, deindent some of the text. (GH-458)

This commit is contained in:
Mariatta 2017-11-10 09:22:07 -08:00 committed by GitHub
parent 1f6bc120cc
commit 2c212e0086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 15 deletions

View File

@ -650,13 +650,13 @@ making a tuple of one element (and in Python 2 they have semantics for
the ``print`` statement). For clarity, it is recommended to surround
the latter in (technically redundant) parentheses.
Yes::
Yes::
FILES = ('setup.cfg',)
FILES = ('setup.cfg',)
OK, but confusing::
OK, but confusing::
FILES = 'setup.cfg',
FILES = 'setup.cfg',
When trailing commas are redundant, they are often helpful when a
version control system is used, when a list of values, arguments or
@ -667,20 +667,20 @@ However it does not make sense to have a trailing comma on the same
line as the closing delimiter (except in the above case of singleton
tuples).
Yes::
Yes::
FILES = [
'setup.cfg',
'tox.ini',
]
initialize(FILES,
error=True,
)
FILES = [
'setup.cfg',
'tox.ini',
]
initialize(FILES,
error=True,
)
No::
No::
FILES = ['setup.cfg', 'tox.ini',]
initialize(FILES, error=True,)
FILES = ['setup.cfg', 'tox.ini',]
initialize(FILES, error=True,)
Comments