1
0
Fork 0

Add diff logic to python format subcommand (#15156)

* Add diff logic to python format subcommand

* Update test

* Add in filter per format-c

* fix tests

* Update new workflow
This commit is contained in:
Joel Challis 2021-11-17 23:02:45 +00:00 committed by GitHub
parent b5d24f9efb
commit cd50fdf7ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 58 additions and 16 deletions

View file

@ -37,7 +37,7 @@ jobs:
shell: 'bash {0}'
run: |
qmk format-c --core-only $(< ~/files.txt)
qmk format-python
qmk format-python $(< ~/files.txt)
qmk format-text $(< ~/files.txt)
git diff

View file

@ -25,7 +25,7 @@ jobs:
shell: 'bash {0}'
run: |
qmk format-c -a
qmk format-python
qmk format-python -a
qmk format-text -a
git diff