On 03 mai 13:57, Arve Knudsen wrote:
> Hello

Hi,

> In the attached case I replace the logging module's standard logger class,
> using logging.setLoggerClass, which confuses PyLint, since it thinks my
> logger objects are still of the standard type. Can I in my get_logger
> function somehow tell PyLint that an object of the type test.Logger is
> returned?
 
I'm afraid you can't easily give to pylint that information (yet).

-- 
Sylvain Thénault                               LOGILAB, Paris (France)
Formations Python, Debian, Méth. Agiles: http://www.logilab.fr/formations
Développement logiciel sur mesure:       http://www.logilab.fr/services
CubicWeb, the semantic web framework:    http://www.cubicweb.org

_______________________________________________
Python-Projects mailing list
Python-Projects@lists.logilab.org
http://lists.logilab.org/mailman/listinfo/python-projects

Reply via email to