I think we can assume git commit would be running inside virtual env, plus venv directory can be located elsewhere too
Might want to consider the case where file name can be white space. Just adding a IFS='\n'
before the for loop is probably enough.
I think this is the only other place that needs to be updated
self.old_positions[username] = old_positions
for position in new_positions:
…
behaviuor of get_terms_for_renewal
would be w2023
so I'll make it do that.
side note: get_terms_for_renewal
function is written for client so is not suitable for server side use
Say if a user has terms
f2020
w2021
and current term is f2022
should adding 1 term add w2023
or s2021
?
Tried it on corn-syrup and is working. Functionality wise it LGTM.
The weird grid pattern in the background when terminal size is too big renders pretty badly on my screen (probably doesn't…