isort --profile black --recursive . (#2170)

* isort --profile black --recursive .

* Update codespell.yml

* typo: vertices

* typo: Explanation

* typo: Explanation

* Fix typos
This commit is contained in:
Christian Clauss
2020-07-06 05:18:18 +02:00
committed by GitHub
parent 25d9d819a2
commit cd3e8f95a0
6 changed files with 10 additions and 9 deletions

View File

@@ -11,12 +11,13 @@ jobs:
steps:
- uses: actions/checkout@v1 # Use v1, NOT v2
- uses: actions/setup-python@v2
- run: pip install black
- run: pip install black isort
- run: black --check .
- name: If needed, commit black changes to a new pull request
if: failure()
run: |
black .
isort --profile black --recursive .
git config --global user.name github-actions
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