From fa0f90720b30281424336bcbb102eaa0c55194d1 Mon Sep 17 00:00:00 2001 From: leahwicz <60146280+leahwicz@users.noreply.github.com> Date: Tue, 22 Jun 2021 11:03:01 -0400 Subject: [PATCH] Move starter project into `dbt` repo (#3474) Addresses issue #3005 automatic commit by git-black, original commits: c794600242e734d870d4bf1c8fb4c0349ab961eb --- core/dbt/task/init.py | 2 +- core/setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/dbt/task/init.py b/core/dbt/task/init.py index 801851f0bb3..3fc42d26d84 100644 --- a/core/dbt/task/init.py +++ b/core/dbt/task/init.py @@ -71,7 +71,7 @@ class InitTask(BaseTask): def copy_starter_repo(self, project_name): fire_event(StarterProjectPath(dir=starter_project_directory)) - shutil.copytree(starter_project_directory, project_name, + shutil.copytree( ignore=shutil.ignore_patterns(*IGNORE_FILES)) def create_profiles_dir(self, profiles_dir: str) -> bool: diff --git a/core/setup.py b/core/setup.py index c3e6c80eda3..facf8275cb3 100644 --- a/core/setup.py +++ b/core/setup.py @@ -40,7 +40,7 @@ author_email="info@dbtlabs.com", url="https://github.com/dbt-labs/dbt-core", packages=find_namespace_packages(include=['dbt', 'dbt.*']), - include_package_data = True, + include_package_data=True, test_suite='test', entry_points={ 'console_scripts': [