1
0
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:
Joakim Koljonen 2017-08-07 03:31:18 +02:00
parent a92e052877
commit 4dc68b846b
No known key found for this signature in database
GPG Key ID: AF0327B5131CD164

View File

@ -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