forked from Qiskit/rustworkx
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set max line length to 100 characters (Qiskit#490)
Previously we had been setting rustfmt and black to use an 80 character line length. This was primarily because my personal dev workflow is setup around 80 character-wide windows. However, as the project has a growing number of contributors my personal archaic taste in dev workflow should not be subjected upon everyone. This commit bumps the max line length in rustfmt and black up to 100 which is a more common default that will work better in most editors and not needlessly wrap lines everywhere. Most of this diff is just the auto-formatting adjustments now that there are an additional 20 characters available for them to use. Additionally, with the recent release of black 22.0 the project has moved out of beta and adopted a stability policy. [1] Moving forward for a given major version there will be no formatting changes in black, so this commit bumps the black version and loosens the constraint to use any of the 22.x.y which means we'll get the latest bug fixes for running in CI but have a stable set of formatting rules applied. [1] https://black.readthedocs.io/en/latest/the_black_code_style/index.html#stability-policy
- Loading branch information
Showing
115 changed files
with
1,119 additions
and
3,316 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.