Reformat code to pythonic standards
This commit is contained in:
1 parent
ea62bdfc0b
commit
b1732c07c5
5 files changed
+123
-51
No files matched your search
@@ -4,10 +4,13 @@
|
||||
Utility function for loading project environment variables
|
||||
"""
|
||||
import os
|
||||
|
||||
from dotenv import load_dotenv
|
||||
|
||||
|
||||
load_dotenv()
|
||||
|
||||
|
||||
def load_environment_variables() -> dict:
|
||||
return {
|
||||
k: v for k, v in os.environ.items()
|
||||
|
||||
Reference in new issue
Block a user