ruff/crates/ruff_linter/resources/test/fixtures/flake8_datetimez
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
..
DTZ001.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
DTZ002.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
DTZ003.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
DTZ004.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
DTZ005.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
DTZ006.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
DTZ007.py Allow f-strings with %z for DTZ007 (#10651) 2024-03-29 09:57:13 +05:30
DTZ011.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
DTZ012.py Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00