Apply suggestions from code review
Apply suggestions from code review

Co-authored-by: Filipe Laíns <4e673ef24ee9117cb9a7deda4596f7f36fd393b5@gmail.com>
pypa/setuptools_scm,pypa/setuptools_scm,RonnyPfannschmidt/setuptools_scm,RonnyPfannschmidt/setuptools_scm