from https://github.com/NLeSC/python-template/pull/185#discussion_r616563714
from #185 (comment)