Skip to content

Commit d48cc8d

Browse files
committed
Upgrade Python syntax to 3.11+
1 parent d9adc4f commit d48cc8d

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎.ruff.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
target-version = "py310"
1+
target-version = "py311"
22
fix = true
33
output-format = "full"
44
line-length = 88

‎_tools/generate_release_cycle.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def __init__(self, *, limit_to_active=False, special_py27=False) -> None:
101101

102102
def write_csv(self) -> None:
103103
"""Output CSV files."""
104-
now_str = str(dt.datetime.now(dt.timezone.utc))
104+
now_str = str(dt.datetime.now(dt.UTC))
105105

106106
versions_by_category = {"branches": {}, "end-of-life": {}}
107107
headers = None

0 commit comments

Comments
 (0)