ruff
ad313b90 - RUF027 no longer has false negatives with string literals inside of method calls (#9865)

Commit
1 year ago
RUF027 no longer has false negatives with string literals inside of method calls (#9865) Fixes #9857. ## Summary Statements like `logging.info("Today it is: {day}")` will no longer be ignored by RUF027. As before, statements like `"Today it is: {day}".format(day="Tuesday")` will continue to be ignored. ## Test Plan The snapshot tests were expanded to include new cases. Additionally, the snapshot tests have been split in two to separate positive cases from negative cases.
Author
Parents
Loading