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:
Dhruv
2020-09-30 14:08:00 +05:30
committed by GitHub
parent e6e2dc69d5
commit 0a42ae9095
14 changed files with 86 additions and 85 deletions

2
.github/stale.yml vendored
View File

@ -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.

View File

@ -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