mirror of
https://github.com/dbcli/pgcli
synced 2024-05-31 01:17:54 +00:00
Make pep8radius happy
I don't know why pep8radius didn't like this line, and I think its suggested change would have made the code considerably less legible. So here's some sort of compromise where pep8radius gets its line break and I get indentation that at least makes some sense.
This commit is contained in:
parent
a92e052877
commit
4dc68b846b
|
@ -958,7 +958,10 @@ def format_output(title, cur, headers, status, settings):
|
|||
def format_arrays(data, headers, **_):
|
||||
data = list(data)
|
||||
for row in data:
|
||||
row[:] = [format_array(val) if isinstance(val, list) else val for val in row]
|
||||
row[:] = [
|
||||
format_array(val) if isinstance(val, list) else val
|
||||
for val in row
|
||||
]
|
||||
|
||||
return data, headers
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user