diff options
| author | Zach White <skullydazed@gmail.com> | 2021-09-27 10:02:54 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-09-27 10:02:54 -0700 |
| commit | fce9cb933845bf0b74d322eba02de3b76daaeb84 (patch) | |
| tree | a28ffc6f3c53a4ddf1004f1a99938e2e5a42e6c3 /users | |
| parent | 5f38a98fa07677be960b71b8e3b0a1785effe0d8 (diff) | |
| download | qmk_firmware-fce9cb933845bf0b74d322eba02de3b76daaeb84.tar.gz qmk_firmware-fce9cb933845bf0b74d322eba02de3b76daaeb84.zip | |
Cleanup issues identified by lgtm (#14459)
* cleanup issues identified by lgtm
* fix the git_status check
Diffstat (limited to 'users')
| -rw-r--r-- | users/dennytom/chording_engine/chord.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/users/dennytom/chording_engine/chord.py b/users/dennytom/chording_engine/chord.py index 707f36b82..5e3b6d283 100644 --- a/users/dennytom/chording_engine/chord.py +++ b/users/dennytom/chording_engine/chord.py | |||
| @@ -1,5 +1,4 @@ | |||
| 1 | from functools import reduce | 1 | from functools import reduce |
| 2 | import re | ||
| 3 | 2 | ||
| 4 | strings = [] | 3 | strings = [] |
| 5 | number_of_strings = -1 | 4 | number_of_strings = -1 |
| @@ -463,4 +462,4 @@ def secret_chord(PSEUDOLAYER, ACTION, INPUT_STRING, data, output_buffer, index, | |||
| 463 | 462 | ||
| 464 | hash = hash[3:] | 463 | hash = hash[3:] |
| 465 | if hash != "": | 464 | if hash != "": |
| 466 | return add_key(PSEUDOLAYER, hash, ACTION, output_buffer, index, number_of_strings, strings) \ No newline at end of file | 465 | return add_key(PSEUDOLAYER, hash, ACTION, output_buffer, index, number_of_strings, strings) |
