diff options
| author | Joel Challis <git@zvecr.com> | 2024-12-15 04:00:18 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-12-15 15:00:18 +1100 |
| commit | 767dfbbd3f94dcddb2061cd8338dd166d985df9d (patch) | |
| tree | 72c76a333f6fc92bf2adf322c6daf58e2b709053 /lib/python/qmk/cli/doctor/main.py | |
| parent | 296e4539f5bfa8a23af6c48526a42dbc827a82eb (diff) | |
Resolve `cli.log.warn` warnings (#24551)
Diffstat (limited to 'lib/python/qmk/cli/doctor/main.py')
| -rwxr-xr-x | lib/python/qmk/cli/doctor/main.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/qmk/cli/doctor/main.py b/lib/python/qmk/cli/doctor/main.py index 5215d3a7ee..391353ebbf 100755 --- a/lib/python/qmk/cli/doctor/main.py +++ b/lib/python/qmk/cli/doctor/main.py | |||
| @@ -102,10 +102,10 @@ def userspace_tests(qmk_firmware): | |||
| 102 | qmk_userspace_validate(path) | 102 | qmk_userspace_validate(path) |
| 103 | cli.log.info(f'Testing userspace candidate: {{fg_cyan}}{path}{{fg_reset}} -- {{fg_green}}Valid `qmk.json`') | 103 | cli.log.info(f'Testing userspace candidate: {{fg_cyan}}{path}{{fg_reset}} -- {{fg_green}}Valid `qmk.json`') |
| 104 | except FileNotFoundError: | 104 | except FileNotFoundError: |
| 105 | cli.log.warn(f'Testing userspace candidate: {{fg_cyan}}{path}{{fg_reset}} -- {{fg_red}}Missing `qmk.json`') | 105 | cli.log.warning(f'Testing userspace candidate: {{fg_cyan}}{path}{{fg_reset}} -- {{fg_red}}Missing `qmk.json`') |
| 106 | except UserspaceValidationError as err: | 106 | except UserspaceValidationError as err: |
| 107 | cli.log.warn(f'Testing userspace candidate: {{fg_cyan}}{path}{{fg_reset}} -- {{fg_red}}Invalid `qmk.json`') | 107 | cli.log.warning(f'Testing userspace candidate: {{fg_cyan}}{path}{{fg_reset}} -- {{fg_red}}Invalid `qmk.json`') |
| 108 | cli.log.warn(f' -- {{fg_cyan}}{path}/qmk.json{{fg_reset}} validation error: {err}') | 108 | cli.log.warning(f' -- {{fg_cyan}}{path}/qmk.json{{fg_reset}} validation error: {err}') |
| 109 | 109 | ||
| 110 | if QMK_USERSPACE is not None: | 110 | if QMK_USERSPACE is not None: |
| 111 | cli.log.info(f'QMK userspace: {{fg_cyan}}{QMK_USERSPACE}') | 111 | cli.log.info(f'QMK userspace: {{fg_cyan}}{QMK_USERSPACE}') |
