-
-
Notifications
You must be signed in to change notification settings - Fork 373
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #892 from blink1073/black-formatting
- Loading branch information
Showing
69 changed files
with
2,502 additions
and
2,223 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,30 +14,6 @@ defaults: | |
shell: bash | ||
|
||
jobs: | ||
# Run "pre-commit run --all-files" | ||
pre-commit: | ||
runs-on: ubuntu-20.04 | ||
timeout-minutes: 2 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-python@v2 | ||
with: | ||
python-version: 3.8 | ||
|
||
# ref: https://github.com/pre-commit/action | ||
- uses: pre-commit/[email protected] | ||
- name: Help message if pre-commit fail | ||
if: ${{ failure() }} | ||
run: | | ||
echo "You can install pre-commit hooks to automatically run formatting" | ||
echo "on each commit with:" | ||
echo " pre-commit install" | ||
echo "or you can run by hand on staged files with" | ||
echo " pre-commit run" | ||
echo "or after-the-fact on already committed files with" | ||
echo " pre-commit run --all-files" | ||
build: | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
|
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.