Skip to content

Add missing black settings#172

Merged
mrossinek merged 2 commits intoqiskit-community:mainfrom
mrossinek:black-line-length
May 6, 2021
Merged

Add missing black settings#172
mrossinek merged 2 commits intoqiskit-community:mainfrom
mrossinek:black-line-length

Conversation

@mrossinek
Copy link
Copy Markdown
Member

Summary

Adds the missing pyproject.toml file.

Details and comments

The reason for many of the "odd" reformattings part of #171 is the missing configuration file.
Most notable, the missing settings for the line-length! black defaults to a line-length of 88 which obviously caused many changes in our code-base (which uses a line-length of 100).

pbark
pbark previously approved these changes May 6, 2021
Comment thread qiskit_nature/algorithms/excited_states_solvers/qeom.py Outdated
@mrossinek mrossinek dismissed pbark’s stale review May 6, 2021 11:55

Still need to apply some manual fixes

I grepped for '" "' because reviewing the 104 files likely exceeds the
time worth spending on this. If I missed a single oddity somewhere we
can fix it once we notice. The code works as is, anyways 👍
@mrossinek mrossinek requested a review from pbark May 6, 2021 12:05
@mrossinek mrossinek merged commit c3a5d68 into qiskit-community:main May 6, 2021
@mrossinek mrossinek deleted the black-line-length branch May 6, 2021 12:39
@manoelmarques
Copy link
Copy Markdown
Contributor

Thanks a lot for catching this @mrossinek.

Anthony-Gandon pushed a commit to Anthony-Gandon/qiskit-nature that referenced this pull request May 25, 2023
* Add missing black settings

* Manual fixes

I grepped for '" "' because reviewing the 104 files likely exceeds the
time worth spending on this. If I missed a single oddity somewhere we
can fix it once we notice. The code works as is, anyways 👍
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants