Browse Source

Ignore xap_client lint issues

zvecr 3 years ago
parent
commit
dfc3ead42d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/python/qmk/cli/format/python.py

+ 1 - 1
lib/python/qmk/cli/format/python.py

@@ -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.')