2 ms·
I'd find it nice to have a VS Code plugin to hide assertions. Specifically in Python, I see myself writing asserts to check for data boundaries, numpy array siz
by LinasKo 4y ago
I'd find it nice to have a VS Code plugin to hide assertions. Specifically in Python, I see myself writing asserts to check for data boundaries, numpy array sizes, data types.
It takes space and diatracts a bit.
Bonus points if I could have a, for example "# /assertion_func" comment that would label a whole function to be folded together with asserts.