Skip to content

Commit ba17dfd

Browse files
committed
improve type definitions in config.py
1 parent fbbd343 commit ba17dfd

File tree

1 file changed

+2
-2
lines changed
  • {{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}

1 file changed

+2
-2
lines changed

{{cookiecutter.project_slug}}/{{cookiecutter.project_slug}}/config.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515

1616
os.environ['LOGURU_LEVEL'] = os.getenv('LOG_LEVEL') or ((DEBUG or TESTING) and 'DEBUG') or 'INFO'
1717
os.environ['LOGURU_DEBUG_COLOR'] = '<fg #777>'
18-
REQUEST_ID_LENGTH = int(os.getenv('REQUEST_ID_LENGTH', '8'))
19-
PYGMENTS_STYLE = os.getenv('PYGMENTS_STYLE', 'github-dark')
18+
REQUEST_ID_LENGTH: int = int(os.getenv('REQUEST_ID_LENGTH', '8'))
19+
PYGMENTS_STYLE: str = os.getenv('PYGMENTS_STYLE', 'github-dark')

0 commit comments

Comments
 (0)