HF RL Explorer

todo lists: handle missing file

todo lists: handle missing file: a task in smol-software-harbor (Harbor dataset). When the todo file does not exist yet, every command of todo.py crashes with FileNotFoundError . A missing file must be treated as an empty list: list prints No tasks yet. and add creates the file. Fix todo.py ; you…

The task

When the todo file does not exist yet, every command of `todo.py` crashes with `FileNotFoundError`. A missing file must be treated as an empty list: `list` prints `No tasks yet.` and `add` creates the file. Fix `todo.py`; you can try it with `python3 todo.py --file /tmp/new.json list`.

Part of efederici/smol-software-harbor.