invalid-envvar-default / W1508#
Message emitted:
%s default type is %s. Expected str or None.
Description:
Env manipulation functions return None or str values. Supplying anything different as a default may cause bugs. See https://docs.python.org/3/library/os.html#os.getenv.
Correct code:
# This is a placeholder for correct code for this message.
Additional details:
You can help us make the doc better by contributing !
Created by the stdlib checker.