diff --git a/cookiecutter/target-template/hooks/post_gen_project.py b/cookiecutter/target-template/hooks/post_gen_project.py index c80aa2806..44edd337b 100644 --- a/cookiecutter/target-template/hooks/post_gen_project.py +++ b/cookiecutter/target-template/hooks/post_gen_project.py @@ -3,14 +3,12 @@ import shutil -BASE_PATH = Path('{{cookiecutter.library_name}}') +BASE_PATH = Path("{{cookiecutter.library_name}}") -if __name__ == '__main__': - - if '{{ cookiecutter.license }}' != 'Apache-2.0': - Path('LICENSE').unlink() - - if '{{ cookiecutter.include_ci_files }}' != 'GitHub': - shutil.rmtree(Path('.github')) +if __name__ == "__main__": + if "{{ cookiecutter.license }}" != "Apache-2.0": + Path("LICENSE").unlink() + if "{{ cookiecutter.include_ci_files }}" != "GitHub": + shutil.rmtree(Path(".github"))