mirror of
https://github.com/bombsquad-community/plugin-manager.git
synced 2025-10-08 14:54:36 +00:00
Merge pull request #392 from bombsquad-community/brostosjoined-blacklinting
Switch to Black formatting
This commit is contained in:
commit
c63c1a8460
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
|
||||
run: |
|
||||
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
|
||||
|
||||
- name: Apply AutoPEP8
|
||||
- name: Apply Black
|
||||
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
|
||||
with:
|
||||
commit_message: "[ci] auto-format"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue