You've already forked snikket-web-portal
Bring happiness to mypy
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
pyscss~=1.3
|
pyscss~=1.3
|
||||||
mypy
|
mypy
|
||||||
python-dotenv~=0.15
|
python-dotenv~=0.15
|
||||||
|
types-toml
|
||||||
|
|||||||
@@ -173,7 +173,7 @@ def create_app() -> quart.Quart:
|
|||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
import runpy
|
import runpy
|
||||||
init_vars = runpy.run_path(env_init) # type:ignore
|
init_vars = runpy.run_path(env_init)
|
||||||
for name, value in init_vars.items():
|
for name, value in init_vars.items():
|
||||||
if not name:
|
if not name:
|
||||||
continue
|
continue
|
||||||
|
|||||||
Reference in New Issue
Block a user