tonybaloney / wily

A Python application for tracking, reporting on timing and complexity in Python code

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Log calls should all be lazy-formatted

tonybaloney opened this issue · comments

I've noticed that the logger.debug() calls throughout the codebase use f-strings.

This isn't ideal because it eagerly formats the message even when logging isn't in debug mode.

It should use % style messages with the arguments as parameters. There is a pylint check for this