mirror of
https://github.com/TheAlgorithms/Python.git
synced 2025-07-05 01:09:40 +08:00
Fix all errors mentioned in pre-commit run (#2512)
* Fix all errors mentioned in pre-commit run: - Fix end of file - Remove trailing whitespace - Fix files with black - Fix imports with isort * Fix errors
This commit is contained in:
2
.github/stale.yml
vendored
2
.github/stale.yml
vendored
@ -16,5 +16,5 @@ markComment: >
|
||||
for your contributions.
|
||||
# Comment to post when closing a stale issue. Set to `false` to disable
|
||||
closeComment: >
|
||||
Please reopen this issue once you commit the changes requested or
|
||||
Please reopen this issue once you commit the changes requested or
|
||||
make improvements on the code. Thank you for your contributions.
|
||||
|
2
.github/workflows/autoblack.yml
vendored
2
.github/workflows/autoblack.yml
vendored
@ -19,7 +19,7 @@ jobs:
|
||||
black .
|
||||
isort --profile black .
|
||||
git config --global user.name github-actions
|
||||
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
|
||||
git config --global user.email '${GITHUB_ACTOR}@users.noreply.github.com'
|
||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
|
||||
git commit -am "fixup! Format Python code with psf/black push"
|
||||
git push --force origin HEAD:$GITHUB_REF
|
||||
|
Reference in New Issue
Block a user