mirror of
https://github.com/qmk/qmk_firmware.git
synced 2026-07-10 02:44:31 -04:00
Ignore xap_client lint issues
This commit is contained in:
@@ -12,7 +12,7 @@ py_dirs = ['lib/python']
|
||||
|
||||
def yapf_run(files):
|
||||
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:
|
||||
cli.run(yapf_cmd, check=True, capture_output=False, stdin=DEVNULL)
|
||||
cli.log.info('Successfully formatted the python code.')
|
||||
|
||||
Reference in New Issue
Block a user