mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Switch to Black formatting
This commit is contained in:
parent
014f3c3a87
commit
d25ffa4d05
1 changed files with 4 additions and 4 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -28,14 +28,14 @@ jobs:
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
python -m pip install -U pip
|
python -m pip install -U pip
|
||||||
python -m pip install -U pycodestyle==2.12.1 autopep8
|
python -m pip install -U black
|
||||||
python -m pip install -U -r test/pip_reqs.txt
|
python -m pip install -U -r test/pip_reqs.txt
|
||||||
|
|
||||||
- name: Apply AutoPEP8
|
- name: Apply Black
|
||||||
run: |
|
run: |
|
||||||
autopep8 --in-place --recursive --max-line-length=100 .
|
black . --line-length 80 --skip-string-normalization
|
||||||
|
|
||||||
- name: Commit AutoPEP8
|
- name: Commit Black
|
||||||
uses: stefanzweifel/git-auto-commit-action@v5
|
uses: stefanzweifel/git-auto-commit-action@v5
|
||||||
with:
|
with:
|
||||||
commit_message: "[ci] auto-format"
|
commit_message: "[ci] auto-format"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue