Commit Graph

18 Commits

Author SHA1 Message Date
Joel Challis
5330d0888d
Install extra CLI dependencies that are missing (#16426)
* Install extra CLI dependencies that are missing

* dos2unix is part of base container
2022-02-22 18:24:18 +00:00
Joel Challis
5dcc0743f5
Install extra CLI dependencies that are missing (#16425) 2022-02-22 02:57:52 +00:00
Joel Challis
e73d22d7f1
Ignore exit codes for formatters (#15276) 2021-11-23 01:40:53 +00:00
Joel Challis
6f425c8aa6
Ignore exit codes for formatters (#15275) 2021-11-23 12:20:46 +11:00
Joel Challis
155076889a
Ignore deleted files when formatting codebase (#15274) 2021-11-23 00:49:18 +00:00
Joel Challis
739bf62112
Tidy CI format error message (#15242)
* Tidy format error message
2021-11-20 22:45:12 +00:00
Joel Challis
cd50fdf7ee
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
2021-11-17 23:02:45 +00:00
Joel Challis
ec0bb791f8
Partially reinstate CI formatting process (#15155)
* Partially reinstate CI formatting process

* Fix exit code on clean run

* Fix exit code on clean run
2021-11-14 23:06:22 +00:00
Zach White
b705020daf
move everything from qmkfm/base_container to qmkfm/qmk_cli (#14230) 2021-08-29 16:41:56 -07:00
Erovia
fdcea06336
CLI/Docs: Fix the format commands' name (#13668)
PR #13296 changed the name of the `cformat` and `pyformat` commands to
`format-c` and `format-py` respectively. This PR updates the documentation
and some parts of the CLI to use the new names.
Also add documentation for the new `format-text` subcommand, introduced
in the same PR.
2021-07-23 21:41:33 +01:00
Erovia
3023015c5b
Make sure 'cformat' only runs on core files (#12909)
Co-authored-by: Zach White <skullydazed@drpepper.org>
2021-05-18 21:26:17 +02:00
Zach White
a3e7f3e7c5
Improve our CI tests (#11476)
* add a test and dry-run to qmk generate-api

* add a dry-run to qmk pyformat

* Add a --dry-run to qmk cformat

* reverse the order of nose2 and flake8 tests

* run CI test against cformat and pyformat

* fix programming errors

* tweak job name

* fix argument

* refine the files we select

* fix stack trace in --ci

* make cformat exit clean

* fix c file extensions

* decouple CI from pyformat

* remove --ci arg

* make ci happy

* use the environment var instead

* change output to text

* fix log message

* replace tabs
2021-05-10 11:18:44 -07:00
Joel Challis
4ddb5abea5
[CI] Format develop (#11893) 2021-02-15 06:51:07 +11:00
Joel Challis
0e8cef28d2
[CI] Auto Formatting - Swap from direct commit to PR (#11229)
* Swap from direct commit to PR

* Fix up
2021-02-06 12:55:50 +00:00
Joel Challis
c807695035
Yet another stab at trying to get github actions to push (#11230) 2020-12-16 23:00:02 +00:00
Joel Challis
795e82074d
Another attempt to fix formatting workflow (#11187) 2020-12-13 21:47:20 +00:00
Joel Challis
1ebd243cdc
CI automated format fixes (#11179)
* Format all C files for now, till diff logic works within CI

* Fix recursion of dos2unix
2020-12-11 13:49:03 +00:00
Joel Challis
6c4b6531fe
CI: Add workflow for codebase formatting (#7382)
* Add workflow for codebase formatting

* stash

* review comments

* Swap to a more complete push action
2020-12-10 17:01:51 +00:00