pylint #113231 logging checker only looks at root logger, not other logger instances [validation pending]
logging.critical('test %s' % 1) gives rise to W1201, as expected
import logging
using getLogger as recommended by the logging documentation, doesn't, but should. | |
priority | normal |
---|---|
type | bug |
done in | 0.27.0 |
load left | 0.000 |
closed by | #27d5a6ff3ea8 closes #113231. logging checker now looks at instances of Logger classes in addition to the base logging module. |
Comments
-
2012/12/06 17:51, written by LeaChim
-
2013/02/22 16:40, written by sthenault
add commentPatch available here: https://bitbucket.org/leachimuk/pylint/commits/744ebc66967d40dded1674efbc2ca887a5a971ce
integrated, thx