-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Open
Labels
pluginImplementing a known but unsupported pluginImplementing a known but unsupported plugin
Description
Issue to track the implementation of flake8-logging rules.
-
LOG001use logging.getLogger() to instantiate loggers -
LOG002use__name__withgetLogger() -
LOG003extrakey '<key>'clashes withLogRecordattribute / Covered byG101 -
LOG004avoidexception()outside of exception handlers -
LOG005useexception()within an exception handler / Covered byTRY400 -
LOG006redundantexc_infoargument forexception()/ Covered byG202 -
LOG007useerror()instead ofexception()withexc_info=False -
LOG008warn()is deprecated, usewarning()instead / Covered byG010 -
LOG009WARNis undocumented, useWARNINGinstead -
LOG010exception()does not take an exception -
LOG011avoid pre-formatting log messages / Covered byG004,G003,G002,G001 -
LOG012formatting error:<n><style>placeholders but<m>arguments -
LOG013formatting error:<missing/unreferenced>keys:<keys> -
LOG014avoidexc_info=Trueoutside of exception handlers -
LOG015avoid logging calls on the root logger
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
pluginImplementing a known but unsupported pluginImplementing a known but unsupported plugin