mirror of https://github.com/astral-sh/ruff
## 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. |
||
|---|---|---|
| .. | ||
| DTZ001.py | ||
| DTZ002.py | ||
| DTZ003.py | ||
| DTZ004.py | ||
| DTZ005.py | ||
| DTZ006.py | ||
| DTZ007.py | ||
| DTZ011.py | ||
| DTZ012.py | ||