Skip to content

Commit da8387f

Browse files
committed
Explict python-dotenv usage, updates to setup.py.
1 parent 91f324f commit da8387f

File tree

4 files changed

+31
-20
lines changed

4 files changed

+31
-20
lines changed

Pipfile.lock

Lines changed: 21 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

config.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
"""App configuration."""
22
from os import environ
3+
from dotenv import load_dotenv
4+
5+
6+
load_dotenv()
37

48

59
class Config:

requirements.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
Click==7.0
1+
click==7.1.1
22
Flask==1.1.1
3-
Flask-WTF==0.14.2
3+
Flask-WTF==0.14.3
44
itsdangerous==1.1.0
5-
Jinja2==2.10.3
5+
Jinja2==2.11.1
66
MarkupSafe==1.1.1
7-
Werkzeug==0.16.0
7+
python-dotenv==0.12.0
8+
Werkzeug==1.0.0
89
WTForms==2.2.1

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
classifiers=[
2222
'Programming Language :: Python :: 3',
2323
'Programming Language :: Python :: 3.7',
24+
'Programming Language :: Python :: 3.8',
2425
],
2526
keywords='Flask Flask-WTF Forms',
2627
packages=find_packages(),

0 commit comments

Comments
 (0)