You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
logging.info, logging.warning, logging.error, etc. each take (msg, *args, **kwargs).
If msg is given as a keyword argument, ruff 0.0.283 gives an error (https://beta.ruff.rs/docs/rules/logging-too-many-args/), which is incorrect.
# example.pyimportlogginglogging.info(msg="X")
ruff --select=PLE --isolated example.py
example.py:3:1: PLE1205 Too many arguments for `logging` format string
The text was updated successfully, but these errors were encountered:
logging.info
,logging.warning
,logging.error
, etc. each take(msg, *args, **kwargs)
.If
msg
is given as a keyword argument, ruff 0.0.283 gives an error (https://beta.ruff.rs/docs/rules/logging-too-many-args/), which is incorrect.The text was updated successfully, but these errors were encountered: