From fa3c332415e475d9ab3ddbfe49e1c30ab4f1ad3e Mon Sep 17 00:00:00 2001 From: Cody Rioux Date: Fri, 29 Apr 2016 14:17:08 -0700 Subject: [PATCH 1/2] Silenced pip on installation of requirements. --- {{ cookiecutter.repo_name }}/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{ cookiecutter.repo_name }}/Makefile b/{{ cookiecutter.repo_name }}/Makefile index 1c0869f..35f47a2 100644 --- a/{{ cookiecutter.repo_name }}/Makefile +++ b/{{ cookiecutter.repo_name }}/Makefile @@ -11,7 +11,7 @@ BUCKET = {{ cookiecutter.s3_bucket }} ################################################################################# requirements: - pip install -r requirements.txt + pip install -q -r requirements.txt data: requirements python src/make_dataset.py From d3d7b74ff99fc8552bde71f313a9901c4e1b4365 Mon Sep 17 00:00:00 2001 From: Cody Rioux Date: Fri, 29 Apr 2016 14:17:38 -0700 Subject: [PATCH 2/2] Added virtualenv directories to flake8 exclude list. --- {{ cookiecutter.repo_name }}/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{ cookiecutter.repo_name }}/Makefile b/{{ cookiecutter.repo_name }}/Makefile index 35f47a2..6f9d261 100644 --- a/{{ cookiecutter.repo_name }}/Makefile +++ b/{{ cookiecutter.repo_name }}/Makefile @@ -20,7 +20,7 @@ clean: find . -name "*.pyc" -exec rm {} \; lint: - flake8 . + flake8 --exclude=lib/,bin/ . sync_data_to_s3: s3cmd sync --recursive data/ s3://$(BUCKET)/data/