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
Thanks for the report. I dug into this a bit and the issue is that %c is an integer format type. Characters can be coerced to integers so they work at runtime, but Ruff's type analysis e.g. analyze::type_inference::PythonType does not support characters. I'm not sure how best to represent objects that can be both characters and strings in our type system so there's not a quick fix for this although it does seem easy enough to detect strings with a single item and special case them.
PLE1307: false positive:
The text was updated successfully, but these errors were encountered: