diff options
author | Joel Spadin <[email protected]> | 2023-04-22 23:16:36 -0500 |
---|---|---|
committer | Pete Johanson <[email protected]> | 2023-04-24 16:07:04 -0700 |
commit | 32ae776c42215d7302ab47787cbfb47298ccb532 (patch) | |
tree | 683b220ca15ec1ab8a7cd130ee86f2512c2b3432 /app/tests/hold-tap/hold-preferred/6-retro-tap/native_posix_64.keymap | |
parent | 9c4f1e02d14e2903d7ec377fc3042bb704cc7253 (diff) | |
download | zmk-32ae776c42215d7302ab47787cbfb47298ccb532.tar.gz zmk-32ae776c42215d7302ab47787cbfb47298ccb532.zip |
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.
Diffstat (limited to 'app/tests/hold-tap/hold-preferred/6-retro-tap/native_posix_64.keymap')
-rw-r--r-- | app/tests/hold-tap/hold-preferred/6-retro-tap/native_posix_64.keymap | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/tests/hold-tap/hold-preferred/6-retro-tap/native_posix_64.keymap b/app/tests/hold-tap/hold-preferred/6-retro-tap/native_posix_64.keymap index 314b7334b8..dc96ee8b09 100644 --- a/app/tests/hold-tap/hold-preferred/6-retro-tap/native_posix_64.keymap +++ b/app/tests/hold-tap/hold-preferred/6-retro-tap/native_posix_64.keymap @@ -31,15 +31,15 @@ &kscan { events = < /* tap */ - ZMK_MOCK_PRESS(0,0,10) - ZMK_MOCK_RELEASE(0,0,10) + ZMK_MOCK_PRESS(0,0,10) + ZMK_MOCK_RELEASE(0,0,10) /* retro tap */ ZMK_MOCK_PRESS(0,0,400) - ZMK_MOCK_RELEASE(0,0,10) + ZMK_MOCK_RELEASE(0,0,10) /* hold */ ZMK_MOCK_PRESS(0,0,400) ZMK_MOCK_PRESS(1,0,10) ZMK_MOCK_RELEASE(1,0,10) - ZMK_MOCK_RELEASE(0,0,10) + ZMK_MOCK_RELEASE(0,0,10) >; };
\ No newline at end of file |