mirror of
https://github.com/qmk/qmk_firmware.git
synced 2025-04-22 15:11:27 +00:00
Ignore xap_client lint issues
This commit is contained in:
parent
9e1b8a710c
commit
dfc3ead42d
@ -12,7 +12,7 @@ py_dirs = ['lib/python']
|
|||||||
|
|
||||||
def yapf_run(files):
|
def yapf_run(files):
|
||||||
edit = '--diff' if cli.args.dry_run else '--in-place'
|
edit = '--diff' if cli.args.dry_run else '--in-place'
|
||||||
yapf_cmd = ['yapf', '-vv', '--recursive', edit, *files]
|
yapf_cmd = ['yapf', '-vv', '--exclude', '**/xap_client/*', '--recursive', edit, *files]
|
||||||
try:
|
try:
|
||||||
cli.run(yapf_cmd, check=True, capture_output=False, stdin=DEVNULL)
|
cli.run(yapf_cmd, check=True, capture_output=False, stdin=DEVNULL)
|
||||||
cli.log.info('Successfully formatted the python code.')
|
cli.log.info('Successfully formatted the python code.')
|
||||||
|
Loading…
Reference in New Issue
Block a user