Hopefully this is the right place for Pylint suggestions; I did not see any
other mailing lists that appeared to fit.
I am working on a large project with a lot of existing Python code,
and we use pylint in our processes.
One frequently used module has a class with a lot of property methods
and regular methods, e.g.
return some_other_test() == 42
So, naturally, I mistakenly used the last item above as if it was
a property instead of a method:
The code, of course, needs to be:
The first form is valid code but mostly useless, because the
is_fubd method exists so an 'if' test is always true. And it is
a real pain to find the mistake by inspection. It would sure
be nice to have pylint flag this usage as suspicious.