Why does Pylint want two public methods per class?
The number 2 is completely arbitrary. If min-public-methods=1
is a more fitting policy for your project and better matches your code esthetic opinions, then by all means go for it. As was once said, "Pylint doesn't know what's best".