-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update black Update black from 19.10b0 to 24.4.2. black had been broken due to an ImportError (see psf/black#2964). * Add black to pre-commit * Add black to GitHub Actions * Add flake8 to pre-commit * Update requirements.txt using Pipfile Ran `pipenv requirements --exclude-markers > requirements.txt` to update requirements.txt with correct dependencies and versions from Pipfile. I did this primarily to update the black version (because the previous version was broken with an ImportError), and I might as well update the rest of the dependencies as well. * Add flags to black for GitHub Actions Add the --check and --diff flags to black within GitHub Actions workflows so that the workflows fail if files need formatting. Without these flags, black will "format" the files and exit without error, which doesn't actually write to the files during workflows. * Add flags to flake8 and black for pre-commit Add flags to flake8 and black for pre-commit based on existing flags in GitHub Actions workflows. This includes selecting for specific flake8 errors and adjusting the max line length. These existing configs are extremely limited, so they should be broadened to more errors and/or a more widely accepted max line length. Also ran black on the entire codebase to satisfy the GitHub workflows. * Fix typo in black option flag * Fix formatting errors
- Loading branch information
1 parent
38cf761
commit 551d8d9
Showing
29 changed files
with
743 additions
and
945 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.