Skip to content

Commit fc5274d

Browse files
committed
start cleaning up, write tests
1 parent e1e8efd commit fc5274d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

codeflash/code_utils/compat.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import os
2-
import shutil
32
import sys
43
import tempfile
54
from pathlib import Path
@@ -18,7 +17,6 @@ class Compat:
1817
LF: str = os.linesep
1918

2019
SAFE_SYS_EXECUTABLE: str = Path(sys.executable).as_posix()
21-
SAFE_GREP_EXECUTABLE: str = shutil.which("grep") # works even grep is aliased in the env
2220

2321
IS_POSIX: bool = os.name != "nt"
2422

@@ -47,4 +45,3 @@ def codeflash_cache_db(self) -> Path:
4745
LF = _compat.LF
4846
SAFE_SYS_EXECUTABLE = _compat.SAFE_SYS_EXECUTABLE
4947
IS_POSIX = _compat.IS_POSIX
50-
SAFE_GREP_EXECUTABLE = _compat.SAFE_GREP_EXECUTABLE

0 commit comments

Comments
 (0)