ruff: enable UP ruleset for detecting python deprecations
This commit is contained in:
parent
d244c7cc4e
commit
118c2d4484
9 changed files with 27 additions and 22 deletions
|
@ -218,7 +218,7 @@ def _iter_tz_depends_on() -> str:
|
|||
day = str(date.today())
|
||||
hr = datetime.now().hour
|
||||
hr_truncated = hr // mod * mod
|
||||
return "{}_{}".format(day, hr_truncated)
|
||||
return f"{day}_{hr_truncated}"
|
||||
|
||||
|
||||
# refresh _iter_tzs every few hours -- don't think a better depends_on is possible dynamically
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue