File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import json
22import os
33import subprocess
4+ import sys
45import time
56from collections .abc import Callable
67from typing import Any , TypeVar , cast
@@ -46,10 +47,10 @@ def verify_lfs_checkout() -> None:
4647 """
4748 This function is used to verify that the LFS files are being properly checked out.
4849 """
49- if os .name == "nt" :
50- # This check, for whatever reason, is entirely unreliable on Windows. The command itself returns
51- # what I expect, but the checkout field is always false when invoking from python,
52- # even when the files are properly checked out
50+ if os .name == "nt" or sys . platform . startswith ( "linux" ) :
51+ # This check, for whatever reason, is entirely unreliable on Windows and linux.
52+ # The command itself returns what I expect, but the checkout field is always false
53+ # when invoking from python, even when the files are properly checked out
5354 return
5455
5556 try :
You can’t perform that action at this time.
0 commit comments