def remove_pycharm_dir(project_directory):
 idea_dir_location = os.path.join(PROJECT_DIRECTORY, '.idea/')
 if os.path.exists(idea_dir_location):
  shutil.rmtree(idea_dir_location)
 docs_dir_location = os.path.join(PROJECT_DIRECTORY, 'docs/pycharm/')
 if os.path.exists(docs_dir_location):
  shutil.rmtree(docs_dir_location)

def remove_pycharm_dir ( project_directory ) : idea_dir_location = os . path . join ( PROJECT_DIRECTORY , '.idea/' ) if os . path . exists ( idea_dir_location ) : shutil . rmtree ( idea_dir_location ) docs_dir_location = os . path . join ( PROJECT_DIRECTORY , 'docs/pycharm/' ) if os . path . exists ( docs_dir_location ) : shutil . rmtree ( docs_dir_location )
removes directories related to pycharm if it isnt going to be used .