Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
One should generally avoid applying large, style-only changes to existing code bases because they tend to make a complete mess of our ability to use 'git-blame' and related tools effectively. With that said, the code base is in pretty bad shape owing to its sheer age and we'd otherwise be fixing this stuff manually for years. Bite the bullet and run all the code through black [1] (specifically, 'black -S', to avoid unnecessary conversion of single quotes to double quotes) to address the worst of the issues. A future change will address the remaining issues like use of wildcard imports and commented out (dead) code. Note that black defaults to a max line length of 88, not 79 [2], which means we need to configure flake8 to allow this. [1] https://pypi.org/project/black/ [2] https://black.readthedocs.io/en/stable/the_black_code_style.html Signed-off-by: Stephen Finucane <stephen@that.guru> Closes: #724 Closes: #711
- Loading branch information
1 parent
56005c9
commit 684da51
Showing
47 changed files
with
3,209 additions
and
2,074 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
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.