Skip to content

Commit 6bf2ea8

Browse files
committed
Remove unnecessary Env() instantiation
1 parent 2250e13 commit 6bf2ea8

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/common/core/main.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
from django.core.management import (
99
execute_from_command_line as django_execute_from_command_line,
1010
)
11-
from environs import Env
1211

1312
from common.core.cli import healthcheck
1413
from common.core.constants import DEFAULT_PROMETHEUS_MULTIPROC_DIR
@@ -32,7 +31,6 @@ def ensure_cli_env() -> typing.Generator[None, None, None]:
3231
main()
3332
```
3433
"""
35-
env = Env()
3634
ctx = contextlib.ExitStack()
3735

3836
# TODO @khvn26 Move logging setup to here

0 commit comments

Comments
 (0)