diff options
author | Zach White <skullydazed@gmail.com> | 2021-06-22 11:50:53 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-22 19:50:53 +0100 |
commit | e87d23164522371b0c9560e81f36ed08caadc0ff (patch) | |
tree | 481bff93f77418ac7603d8ad4af492b4c86a02c2 /lib/python/qmk/cli/doctor/macos.py | |
parent | d61e5c0027e289ccf48652afa4c442342e7ccf04 (diff) | |
download | qmk_firmware-e87d23164522371b0c9560e81f36ed08caadc0ff.tar.gz qmk_firmware-e87d23164522371b0c9560e81f36ed08caadc0ff.zip |
Refactor doctor.py into a directory (#13298)
Diffstat (limited to 'lib/python/qmk/cli/doctor/macos.py')
-rw-r--r-- | lib/python/qmk/cli/doctor/macos.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/python/qmk/cli/doctor/macos.py b/lib/python/qmk/cli/doctor/macos.py new file mode 100644 index 000000000..00fb27285 --- /dev/null +++ b/lib/python/qmk/cli/doctor/macos.py | |||
@@ -0,0 +1,13 @@ | |||
1 | import platform | ||
2 | |||
3 | from milc import cli | ||
4 | |||
5 | from .check import CheckStatus | ||
6 | |||
7 | |||
8 | def os_test_macos(): | ||
9 | """Run the Mac specific tests. | ||
10 | """ | ||
11 | cli.log.info("Detected {fg_cyan}macOS %s{fg_reset}.", platform.mac_ver()[0]) | ||
12 | |||
13 | return CheckStatus.OK | ||