summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/format
AgeCommit message (Collapse)Author
2024-01-16`qmk format-json`: Force Unix line endings and ensure LF at EOF (#22901)Ryan
2023-11-28QMK Userspace (#22222)Nick Brassel
Co-authored-by: Duncan Sutherland <dunk2k_2000@hotmail.com>
2023-09-14`qmk format-json`: Add an in-place mode to format json command (#21610)Andrew Kannan
2023-05-20`qmk format-json`: Expose full key path and respect `sort_keys` (#20836)Ryan
2023-04-07Add Discord webhook at end of each CI run. (#20355)Nick Brassel
2022-05-04Also format *.hpp files. (#16997)Nick Brassel
2022-01-03Refix "No C files in filelist: None" (#15728)Joel Challis
2022-01-03Fix "No C files in filelist: None" (#15560)Joel Challis
* Fix "No C files in filelist: None" * Align other commands * force absolute paths
2021-11-29Fix 'format-c --core-only' matching keyboard level folders (#15337)Joel Challis
2021-11-23qmk format-python - filter for Python files (#15271)Joel Challis
* qmk format-python filter all files * filter changed files too
2021-11-17Add diff logic to python format subcommand (#15156)Joel Challis
* Add diff logic to python format subcommand * Update test * Add in filter per format-c * fix tests * Update new workflow
2021-11-14Partially reinstate CI formatting process (#15155)Joel Challis
* Partially reinstate CI formatting process * Fix exit code on clean run * Fix exit code on clean run
2021-08-24Align some quantum sub-directories (#14134)Joel Challis
* Misc folder tidy * Review comments * Remove redundant entry
2021-07-23CLI/Docs: Fix the format commands' name (#13668)Erovia
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-20Move all our CLI file formatters to the format dir (#13296)Zach White
* 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>
2021-06-24Optimize our jsonschema by using refs (#13271)Zach White
* 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
2021-06-14Ensure that safe_commands always run (#13199)Zach White
* ensure that safe_commands always run * import the config subcommand in bin/qmk
2021-03-25Add a `qmk format-json` command that will format JSON files (#12372)Zach White
* 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