I noticed that VSCode was giving some odd syntax highlighting:
It seemed to think the return statement was never going to be reached. I noticed that the delete_project function was returning a NoReturn. I think this is incorrect. It should return None. NoReturn indicates that the function will never return a value (either it never terminates or it always throws an exception).
I noticed that VSCode was giving some odd syntax highlighting:
It seemed to think the return statement was never going to be reached. I noticed that the
delete_project
function was returning aNoReturn
. I think this is incorrect. It should returnNone
.NoReturn
indicates that the function will never return a value (either it never terminates or it always throws an exception).