mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2024-11-10 19:57:09 +03:00
post_get hook removes docs for pycharm if it isn't used
This commit is contained in:
parent
e897d0af52
commit
aee5b34f8f
|
@ -103,10 +103,15 @@ def remove_task_app(project_directory):
|
|||
|
||||
|
||||
def remove_pycharm_dir(project_directory):
|
||||
"""Removes the .idea directory if PyCharm isn't going to be used"""
|
||||
"""
|
||||
Removes directories related to PyCharm
|
||||
if it isn't going to be used
|
||||
"""
|
||||
idea_dir_location = os.path.join(PROJECT_DIRECTORY, '.idea/')
|
||||
shutil.rmtree(idea_dir_location)
|
||||
|
||||
docs_dir_location = os.path.join(PROJECT_DIRECTORY, 'docs/pycharm/')
|
||||
shutil.rmtree(docs_dir_location)
|
||||
|
||||
# IN PROGRESS
|
||||
# def copy_doc_files(project_directory):
|
||||
|
|
Loading…
Reference in New Issue
Block a user