Skip to content

Commit e118878

Browse files
committed
chore(ruff): defer py312 migration lint rules
1 parent ca883a9 commit e118878

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

pyproject.toml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,16 @@ ignore = [
9999
"F403",
100100
"F405",
101101
"E501",
102+
"ASYNC109", # TODO: migrate timeout params to asyncio.timeout progressively
102103
"ASYNC230", # TODO: handle ASYNC230 in AstrBot
103104
"ASYNC240", # TODO: handle ASYNC240 in AstrBot
105+
"UP017", # TODO: migrate timezone.utc to datetime.UTC progressively
106+
"UP035", # TODO: typing_extensions imports cleanup for 3.12 baseline
107+
"UP036", # TODO: remove obsolete version guards incrementally
108+
"UP040", # TODO: migrate TypeAlias to type statements gradually
109+
"UP041", # TODO: migrate aliased TimeoutError usage gradually
110+
"UP042", # TODO: migrate str+Enum to StrEnum gradually
111+
"UP046", # TODO: migrate Generic class syntax to type parameters
104112
]
105113

106114
[tool.pyright]

0 commit comments

Comments
 (0)