HF RL Explorer

Comments above the first import get mangled after sorting

Comments above the first import get mangled after sorting: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). I have a Python file where I put a short comment line directly above an import to explain what it's for. After running isort on the file, the comment ends up…

The task

I have a Python file where I put a short `#` comment line directly above an import to explain what it's for. After running `isort` on the file, the comment ends up duplicated / misplaced — it loses its "this comment belongs to that import" relationship.

Part of FineEnvs/MiMo-V2.6-RL-harbor-code.