From a4c6dc5f7b1a662c05bb37adcac61c1f6135aca2 Mon Sep 17 00:00:00 2001 From: bspriggs Date: Mon, 16 Apr 2018 19:04:32 -0700 Subject: [PATCH 1/2] Add docopt --- Pipfile | 1 + Pipfile.lock | 12 ++++++++++-- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/Pipfile b/Pipfile index 88544d0..e9305ee 100644 --- a/Pipfile +++ b/Pipfile @@ -6,6 +6,7 @@ name = "pypi" [dev-packages] [packages] +docopt = "*" [requires] python_version = "3.6" diff --git a/Pipfile.lock b/Pipfile.lock index 49fb0c2..fa4dc0f 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "4e55147db217bb4120f6e68cb8cad7bc37011457441ce0eb9d97308315625834" + "sha256": "aa581d46a740183fe5556b542e1f993a8518ed00e6f306bb168a2910014f4bbc" }, "pipfile-spec": 6, "requires": { @@ -15,6 +15,14 @@ } ] }, - "default": {}, + "default": { + "docopt": { + "hashes": [ + "sha256:49b3a825280bd66b3aa83585ef59c4a8c82f2c8a522dbe754a8bc8d08c85c491" + ], + "index": "pypi", + "version": "==0.6.2" + } + }, "develop": {} } From 024a265f5b5050f93b0557f2b316f7b3b4d86a5e Mon Sep 17 00:00:00 2001 From: bspriggs Date: Mon, 16 Apr 2018 19:05:48 -0700 Subject: [PATCH 2/2] Add main help flag for additional level of testing --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index 5577fad..5061321 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,7 @@ install: - pipenv install --dev script: - python -m unittest discover + - python main.py -h before_deploy: - pipenv uninstall --all # clean out any dev dependencies - pipenv install # only add what we need