R1000 commited on
Commit
f704e14
Β·
verified Β·
1 Parent(s): 935ed9d

Update sync_manager.py

Browse files
Files changed (1) hide show
  1. sync_manager.py +2 -1
sync_manager.py CHANGED
@@ -26,7 +26,8 @@ def log(msg):
26
  print(f"[{time.strftime('%H:%M:%S')}] {msg}", flush=True)
27
 
28
  def should_ignore(path):
29
- ignore = ['.lock', '.tmp', '.wal', '.shm']
 
30
  s = str(path)
31
  return any(x in s or s.endswith(x) for x in ignore)
32
 
 
26
  print(f"[{time.strftime('%H:%M:%S')}] {msg}", flush=True)
27
 
28
  def should_ignore(path):
29
+ ignore = ['.lock', '.tmp', '.wal', '.shm', '__pycache__', '.pyc', '.pyo',
30
+ '*.jsonl', '*.bak*', '*clobbered*', '*.trajectory.jsonl' ]
31
  s = str(path)
32
  return any(x in s or s.endswith(x) for x in ignore)
33