Switch to using black for code formatting#171
Conversation
woodsp-ibm
left a comment
There was a problem hiding this comment.
It seems fine - has some weird alterations like
eigenstate_result.aux_operator_eigenvalues = raw_es_result.aux_operator_eigenvalues
to
eigenstate_result.aux_operator_eigenvalues = (
raw_es_result.aux_operator_eigenvalues
)
that seemed to fit on the one line fine; but aside from these oddities in general things look ok
Yeah the black style choices can be a bit weird looking at times (I'm generally not a fan of it's style and probably wouldn't personally format code like it does). But the real advantage it offers is just removing code style and formatting as something humans need to worry about. It makes code formatting a simple and fast one line command prior you run prior to committing. So it just takes any questions out of the process. |
Summary
Follows the changes made in Qiskit/qiskit#6361
Details and comments