Skip to content

Commit 75b2c16

Browse files
committed
chore: suppress LGTM alert
We don't initialize logging.Logger as we use an inner Logger and obj proxy instead.
1 parent 1eafdf4 commit 75b2c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aws_lambda_powertools/logging/logger.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _is_cold_start() -> bool:
3838
# so we need to return to subclassing removed in #97
3939
# All methods/properties continue to be proxied to inner logger
4040
# https://github.com/awslabs/aws-lambda-powertools-python/issues/107
41-
class Logger(logging.Logger):
41+
class Logger(logging.Logger): # lgtm [py/missing-call-to-init]
4242
"""Creates and setups a logger to format statements in JSON.
4343
4444
Includes service name and any additional key=value into logs

0 commit comments

Comments
 (0)