I am trying to declare an object in Python. I am using Visual Studio Code with the basic pylint setup in it. Here is a snip of some code I have.
class MyLogging:
"""A class to initialize and run the logging commands using built in logging functions."""
def __init__(self):
etc...
my_can_logger = MyLogging()
Pylint keeps giving me an error that my_can_logger is named incorrectly.
[pylint] C0103:Invalid constant name "my_can_logger"
But I don't want it to be a constant! I want it to be an object. Is there some rule that I am missing? I looked at the PEP-8 styling guide, and I seem to be following their convention pretty well.
Thanks in advance