New functionality for cformat (#7893)

Fixing complexity

remove lambda

PR review fixes #1

Removing unneccesary string substitution

Handle -a and specified files

Complexity rewrite, use pathlib
This commit is contained in:
Akaash Suresh authored and GitHub committed 2020-02-22 20:57:19 -08:00
1 parent eb9c2429c6
commit b353028ea5
4 files changed
+82 -26

No files matched your search

+2 -1
View File
@@ -7,7 +7,8 @@ def check_subcommand(command, *args):
def test_cformat():
assert check_subcommand('cformat', 'tmk_core/common/keyboard.c').returncode == 0
result = check_subcommand('cformat', 'quantum/matrix.c')
assert result.returncode == 0
def test_compile():