mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-19 20:45:18 -05:00
refactor: Add more checks to pre-commit
Updated existing pre-commit hooks and added some new hooks: - Remove trailing whitespace - Ensure every non-empty file ends with a new line - Check YAML file validity - Prevent adding large files - Ensure any scripts with shebangs are executable Added a GitHub action to run pre-commit on every commit. Removed any existing actions which duplicate pre-commit. Ran pre-commit on the codebase.
This commit is contained in:
committed by
Pete Johanson
parent
9c4f1e02d1
commit
32ae776c42
@@ -11,11 +11,11 @@
|
||||
gpio-map-mask = <0xffffffff 0xffffffc0>;
|
||||
gpio-map-pass-thru = <0 0x3f>;
|
||||
gpio-map
|
||||
= <0 0 &gpio0 8 0> /* D0 D2 */
|
||||
, <1 0 &gpio0 6 0> /* D1 D3*/
|
||||
, <2 0 &gpio0 15 0> /* D2 D1*/
|
||||
, <3 0 &gpio0 17 0> /* D3 D0*/
|
||||
, <4 0 &gpio0 20 0> /* D4/A6 D4*/
|
||||
= <0 0 &gpio0 8 0> /* D0 D2 */
|
||||
, <1 0 &gpio0 6 0> /* D1 D3*/
|
||||
, <2 0 &gpio0 15 0> /* D2 D1*/
|
||||
, <3 0 &gpio0 17 0> /* D3 D0*/
|
||||
, <4 0 &gpio0 20 0> /* D4/A6 D4*/
|
||||
, <5 0 &gpio0 13 0> /* D5 C6*/
|
||||
, <6 0 &gpio0 24 0> /* D6/A7 D7*/
|
||||
, <7 0 &gpio0 9 0> /* D7 E6*/
|
||||
|
||||
Reference in New Issue
Block a user