Remove assert not is_docker() from GitHub checks (#8813)

* Update

* Update
This commit is contained in:
Glenn Jocher authored and GitHub committed 2022-08-01 03:01:44 +02:00
1 parent 6717519635
commit 39ce8ca19a
1 file changed
-1
-1
View File
@@ -316,7 +316,6 @@ def check_git_status(repo='ultralytics/yolov5'):
msg = f', for updates see {url}'
s = colorstr('github: ') # string
assert Path('.git').exists(), s + 'skipping check (not a git repository)' + msg
assert not is_docker(), s + 'skipping check (Docker image)' + msg
assert check_online(), s + 'skipping check (offline)' + msg
splits = re.split(pattern=r'\s', string=check_output('git remote -v', shell=True).decode())