From 447e61a814d221ef8fc0d2aec051b75b7bc5ee06 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Thu, 14 Feb 2019 20:39:33 +0000 Subject: [PATCH] Pipenv handles .env files for us --- Pipfile | 1 - Pipfile.lock | 10 +--------- actioner/settings.py | 4 ---- 3 files changed, 1 insertion(+), 14 deletions(-) diff --git a/Pipfile b/Pipfile index 112c1c2..7d8a0a7 100644 --- a/Pipfile +++ b/Pipfile @@ -23,6 +23,5 @@ allow_prereleases = true aiohttp = "*" apscheduler = "*" pygithub = "*" -python-dotenv = "*" aiohttp-basicauth = "*" todoist-python = "*" diff --git a/Pipfile.lock b/Pipfile.lock index 60c3837..421bd4c 100644 --- a/Pipfile.lock +++ b/Pipfile.lock @@ -1,7 +1,7 @@ { "_meta": { "hash": { - "sha256": "6cf7c4ad05c16172e008a56fff46fe8374eaa923700a8423ba87c770b455a269" + "sha256": "4595ba894a228bb4151c2ae9934e8d02f1812f1ac0a683220e07e003641ce112" }, "pipfile-spec": 6, "requires": { @@ -156,14 +156,6 @@ ], "version": "==1.7.1" }, - "python-dotenv": { - "hashes": [ - "sha256:a84569d0e00d178bc5b957f7ff208bf49287cbf61857c31c258c4a91f571527b", - "sha256:c9b1ddd3cdbe75c7d462cb84674d87130f4b948f090f02c7d7144779afb99ae0" - ], - "index": "pypi", - "version": "==0.10.1" - }, "pytz": { "hashes": [ "sha256:32b0891edff07e28efe91284ed9c31e123d84bea3fd98e1f72be2508f43ef8d9", diff --git a/actioner/settings.py b/actioner/settings.py index be1ec29..4c26106 100644 --- a/actioner/settings.py +++ b/actioner/settings.py @@ -1,10 +1,6 @@ import os from logging import _nameToLevel -from dotenv import load_dotenv - -load_dotenv() - GITHUB_TOKEN = os.environ['GITHUB_TOKEN'] TODOIST_TOKEN = os.environ['TODOIST_TOKEN']