ruff/crates/ruff_linter
Dhruv Manilawala 1bcdfe268d
Allow f-strings with `%z` for `DTZ007` (#10651)
## Summary

This PR fixes the bug for `DTZ007` rule where it didn't consider to
check for the presence of `%z` in f-strings. It also considers the
string parts of an implicitly concatenated f-strings for which I want to
find a better solution (#10308).

fixes: #10601 

## Test Plan

Add test cases and update the snapshots.
2024-03-29 09:57:13 +05:30
..
resources Allow f-strings with `%z` for `DTZ007` (#10651) 2024-03-29 09:57:13 +05:30
src Allow f-strings with `%z` for `DTZ007` (#10651) 2024-03-29 09:57:13 +05:30
Cargo.toml Bump version to v0.3.4 (#10515) 2024-03-21 18:08:21 +00:00
__init__.py [`pylint`] (Re-)Implement `import-private-name` (`C2701`) (#9553) 2024-01-16 14:03:11 -05:00