Dec-14-2022, 12:31 AM
I've been using _ to start private variables but I've also just found tried out pylint and it complains that the private vars are not snake-case.
I don't really care if I use snake-case or _ style myself but I want to make the code readable for others (which is part of the reason for trying out pylint).
Is there a way to make pylint think leading _'s are OK or is snake-case fine for private variable names? If snake-case then what to use for public variables?
Inquiring ignoramuses want to know!
Thanks
I don't really care if I use snake-case or _ style myself but I want to make the code readable for others (which is part of the reason for trying out pylint).
Is there a way to make pylint think leading _'s are OK or is snake-case fine for private variable names? If snake-case then what to use for public variables?
Inquiring ignoramuses want to know!
Thanks