zulip-terminal
zulip-terminal copied to clipboard
hotkeys: Add linting for hotkeys.
Currently, there is no linting for hotkeys.
For e.g. if help_text in keys.py ends with ., ./tools/generate_hotkeys.py updates help_text without linting it as
key description in help menu doesn't contain .
My original thought for this was:
- Ensure that commits/PRs have the file and hotkey.py in sync via running a script, via a test in CI
- More minorly, we could lint for the styles we use in the description, in a few different ways, or possibly other hotkey aspects (eg. possibly overlapping keys, if we have enough information)
generate_hotkeys.pycould be added tomake fix, since it automatically fixes the code
Removed the label as this is not a PR :)
Hello @zulip/server-hotkeys members, this issue was labeled with the "area: hotkeys" label, so you may want to check it out!
@srdeotarse You have been unassigned from this issue because you have not made any updates for over 14 days. Please feel free to reclaim the issue if you decide to pick up again. Thanks!