ruff/crates/ruff_linter
Jane Lewis ad313b9089
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.
2024-02-08 10:00:20 -05:00
..
resources RUF027 no longer has false negatives with string literals inside of method calls (#9865) 2024-02-08 10:00:20 -05:00
src RUF027 no longer has false negatives with string literals inside of method calls (#9865) 2024-02-08 10:00:20 -05:00
Cargo.toml Bump version to v0.2.1 (#9843) 2024-02-05 15:31:05 -05:00
__init__.py [`pylint`] (Re-)Implement `import-private-name` (`C2701`) (#9553) 2024-01-16 14:03:11 -05:00