summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli/format
Commit message (Collapse)AuthorAgeFilesLines
* Also format *.hpp files. (#16997)Nick Brassel2022-05-041-1/+1
|
* Refix "No C files in filelist: None" (#15728)Joel Challis2022-01-031-5/+4
|
* Fix "No C files in filelist: None" (#15560)Joel Challis2022-01-032-11/+14
| | | | | | | * Fix "No C files in filelist: None" * Align other commands * force absolute paths
* Fix 'format-c --core-only' matching keyboard level folders (#15337)Joel Challis2021-11-291-1/+1
|
* qmk format-python - filter for Python files (#15271)Joel Challis2021-11-231-4/+5
| | | | | * qmk format-python filter all files * filter changed files too
* Add diff logic to python format subcommand (#15156)Joel Challis2021-11-171-12/+54
| | | | | | | | | | | * Add diff logic to python format subcommand * Update test * Add in filter per format-c * fix tests * Update new workflow
* Partially reinstate CI formatting process (#15155)Joel Challis2021-11-141-17/+47
| | | | | | | * Partially reinstate CI formatting process * Fix exit code on clean run * Fix exit code on clean run
* Align some quantum sub-directories (#14134)Joel Challis2021-08-241-1/+1
| | | | | | | * Misc folder tidy * Review comments * Remove redundant entry
* CLI/Docs: Fix the format commands' name (#13668)Erovia2021-07-231-1/+1
| | | | | | | 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.
* Move all our CLI file formatters to the format dir (#13296)Zach White2021-07-203-0/+190
| | | | | | | | | * move all our file formatters to the format dir * Apply suggestions from code review Co-authored-by: Erovia <Erovia@users.noreply.github.com> Co-authored-by: Erovia <Erovia@users.noreply.github.com>
* Optimize our jsonschema by using refs (#13271)Zach White2021-06-241-3/+2
| | | | | | | | | | | | | * fix some broken info.json files * optimize our jsonschema using refs * fix formatting after vscode broke it * make flake8 happy * cleanup * make our schema validation more compact and flexible
* Ensure that safe_commands always run (#13199)Zach White2021-06-141-1/+0
| | | | | * ensure that safe_commands always run * import the config subcommand in bin/qmk
* Add a `qmk format-json` command that will format JSON files (#12372)Zach White2021-03-252-0/+67
* Add a command to format json files * change to work after rebase * add test for qmk format-json * add documentation for qmk format-json * Update lib/python/qmk/cli/format/json.py