summaryrefslogtreecommitdiffstats
path: root/lib/python/qmk/cli/doctor/check.py
diff options
context:
space:
mode:
authorQMK Bot <hello@qmk.fm>2022-03-18 16:02:57 +0000
committerQMK Bot <hello@qmk.fm>2022-03-18 16:02:57 +0000
commit3a08deb7fe0d83ca17a8a584fd68c98a018a1c17 (patch)
tree7397bd53ca9dad96498fc712bc8353af3fc2a1e4 /lib/python/qmk/cli/doctor/check.py
parentbffb209eeeab1cc4d070217aa1bc65b6834cf42c (diff)
parented773ab73cab83b842dc62ff94ffb337ec66a5f3 (diff)
Merge remote-tracking branch 'origin/master' into develop
Diffstat (limited to 'lib/python/qmk/cli/doctor/check.py')
-rw-r--r--lib/python/qmk/cli/doctor/check.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/lib/python/qmk/cli/doctor/check.py b/lib/python/qmk/cli/doctor/check.py
index 2d691b64b0..8a0422ba72 100644
--- a/lib/python/qmk/cli/doctor/check.py
+++ b/lib/python/qmk/cli/doctor/check.py
@@ -7,7 +7,6 @@ from subprocess import DEVNULL
from milc import cli
from qmk import submodules
-from qmk.constants import QMK_FIRMWARE
class CheckStatus(Enum):
@@ -150,14 +149,3 @@ def is_executable(command):
cli.log.error("{fg_red}Can't run `%s %s`", command, version_arg)
return False
-
-
-def check_git_repo():
- """Checks that the .git directory exists inside QMK_HOME.
-
- This is a decent enough indicator that the qmk_firmware directory is a
- proper Git repository, rather than a .zip download from GitHub.
- """
- dot_git = QMK_FIRMWARE / '.git'
-
- return CheckStatus.OK if dot_git.exists() else CheckStatus.WARNING