30logger = logging.getLogger(__name__)
31
32
33if True: 34 strings = {
35 "name": "Quotes",
36 "api_token_cfg_doc": "API Key/Token for Quotes.",
Using a conditional statement with a constant value is pointless and will always evaluate to either True or False. This might not be what is intended.
if 100:
print('This will always run')
if False:
print('This will never run')
Getting rid of the always True
check, and removing the block that is never run will have the same behaviour:
print('This will always run')