fix isort profile
This commit is contained in:
1 parent
fd9b0a936a
commit
b4fadbcf21
4 files changed
+19
-10
No files matched your search
@@ -21,12 +21,12 @@ jobs:
|
||||
- name: Run black check
|
||||
run: black --check . --line-length 101
|
||||
- name: Run isort check
|
||||
run: isort . --check-only
|
||||
run: isort . --check-only --diff --profile black
|
||||
- name: If needed, commit changes to the pull request
|
||||
if: failure()
|
||||
run: |
|
||||
black . --line-length 101
|
||||
isort .
|
||||
isort . --profile black
|
||||
git config --global user.name github-actions
|
||||
git config --global user.email 41898282+github-actions[bot]@users.noreply.github.com
|
||||
git remote set-url origin https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/$GITHUB_REPOSITORY
|
||||
|
||||
@@ -11,3 +11,5 @@ jobs:
|
||||
with:
|
||||
options: "--line-length 101"
|
||||
- uses: isort/isort-action@v1
|
||||
with:
|
||||
configuration: "--check-only --diff --profile black"
|
||||
Reference in new issue
Block a user