PEP 8, deindent some of the text. (GH-458)
This commit is contained in:
parent
1f6bc120cc
commit
2c212e0086
|
@ -650,11 +650,11 @@ 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 ``print`` statement). For clarity, it is recommended to surround
|
||||||
the latter in (technically redundant) parentheses.
|
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',
|
||||||
|
|
||||||
|
@ -667,7 +667,7 @@ 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
|
line as the closing delimiter (except in the above case of singleton
|
||||||
tuples).
|
tuples).
|
||||||
|
|
||||||
Yes::
|
Yes::
|
||||||
|
|
||||||
FILES = [
|
FILES = [
|
||||||
'setup.cfg',
|
'setup.cfg',
|
||||||
|
@ -677,7 +677,7 @@ tuples).
|
||||||
error=True,
|
error=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
No::
|
No::
|
||||||
|
|
||||||
FILES = ['setup.cfg', 'tox.ini',]
|
FILES = ['setup.cfg', 'tox.ini',]
|
||||||
initialize(FILES, error=True,)
|
initialize(FILES, error=True,)
|
||||||
|
|
Loading…
Reference in New Issue