Closed AtomicVar closed 5 years ago
Why pylint gives me an error Module 'crayons' has no 'yellow' member when I write
Module 'crayons' has no 'yellow' member
import crayons ... ... print(crayons.yellow("Bot > " + response(query), bold=True))
crayons generates the color functions like crayons.yellow, crayons.red, ... dynamically. There is no way for pylint to know that those functions actually exists.
crayons
crayons.yellow
crayons.red
pylint
Why pylint gives me an error
Module 'crayons' has no 'yellow' member
when I write