Pipenv handles .env files for us
This commit is contained in:
parent
ed24c79395
commit
447e61a814
3 changed files with 1 additions and 14 deletions
1
Pipfile
1
Pipfile
|
@ -23,6 +23,5 @@ allow_prereleases = true
|
|||
aiohttp = "*"
|
||||
apscheduler = "*"
|
||||
pygithub = "*"
|
||||
python-dotenv = "*"
|
||||
aiohttp-basicauth = "*"
|
||||
todoist-python = "*"
|
||||
|
|
10
Pipfile.lock
generated
10
Pipfile.lock
generated
|
@ -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",
|
||||
|
|
|
@ -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']
|
||||
|
|
Reference in a new issue