mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-08-06 10:44:04 +00:00
Add flake8-logging (LOG) and flake8-logging-format (G) for ruff (#1104)
Enables rules LOG (flake8-logging) and G (flake8-logging-format) for ruff. This will catch eager log message formatting, among other similar issues.
This commit is contained in:
@@ -181,7 +181,7 @@ class Firmware(SmartModule):
|
||||
)
|
||||
continue
|
||||
|
||||
_LOGGER.debug("Update state: %s" % state)
|
||||
_LOGGER.debug("Update state: %s", state)
|
||||
if progress_cb is not None:
|
||||
asyncio.create_task(progress_cb(state))
|
||||
|
||||
|
Reference in New Issue
Block a user