summaryrefslogtreecommitdiff
path: root/lib/python/qmk/cli/lint.py
AgeCommit message (Collapse)Author
2022-03-27CLI: Lint non-data driven macros in info.json (#16739)Erovia
* CLI: Lint non-data driven macros in info.json Macros in info.json should either have the "matrix" key with the matrix data or should should be also present in <keyboard>.h * Add verification of matrix data * Use generic '<keyboard>.h' in output * Add keyboard name to output * Make C layout macro finding more robust The old code missed C macros if they had whitespace between '#' and 'define' or had whitespace before '#'.
2021-08-28fix automatic directory for qmk lint (#14215)Zach White
2021-08-29Add check for non-assignment code in rules.mk (#12108)Zach White
* Add check for non-assignment code in rules.mk * fix lint check * fix lint * fixup to reflect the final state of #8422 * fix lint
2021-08-10Improve the qmk lint readme check (#13941)Zach White
* improve lint readme check * improve if
2021-04-14Add support for tab completion (#12411)Zach White
* Add support for tab completion * make flake8 happy * Add documentation
2020-11-07New command: qmk lint (#10761)Zach White
* Basic qmk lint command * check for keymap readme * change the workflow from qmk info to qmk lint * add a strict mode * parsing -> parse * document qmk lint * small info logging cleanup * Apply suggestions from code review Co-authored-by: Ryan <fauxpark@gmail.com> * honor --strict in more places * change the job name to lint Co-authored-by: Ryan <fauxpark@gmail.com>