summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorJoel Challis <git@zvecr.com>2021-11-17 23:02:45 +0000
committerGitHub <noreply@github.com>2021-11-17 23:02:45 +0000
commitcd50fdf7ee6cdb1a5025f4e3e9540c0fd00499a7 (patch)
tree47e7c6405b52374a79ae328ed3accbaa1e8c925b /.github
parentb5d24f9efb316351c73763eeac5fcc11b98e0ba1 (diff)
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
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/format.yaml2
-rw-r--r--.github/workflows/format_push.yaml2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
index 9e165e0e8d..645e0ce106 100644
--- a/.github/workflows/format.yaml
+++ b/.github/workflows/format.yaml
@@ -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
diff --git a/.github/workflows/format_push.yaml b/.github/workflows/format_push.yaml
index 8b579bf86f..b79130f17a 100644
--- a/.github/workflows/format_push.yaml
+++ b/.github/workflows/format_push.yaml
@@ -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