Add diff logic to python format subcommand (#15156)
* Add diff logic to python format subcommand * Update test * Add in filter per format-c * fix tests * Update new workflow
This commit is contained in:
@ -81,9 +81,9 @@ def test_hello():
|
||||
|
||||
|
||||
def test_format_python():
|
||||
result = check_subcommand('format-python', '--dry-run')
|
||||
result = check_subcommand('format-python', '-n', '-a')
|
||||
check_returncode(result)
|
||||
assert 'Python code in `bin/qmk` and `lib/python` is correctly formatted.' in result.stdout
|
||||
assert 'Successfully formatted the python code.' in result.stdout
|
||||
|
||||
|
||||
def test_list_keyboards():
|
||||
|
Reference in New Issue
Block a user