Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
🚨 chore: update ruff target-version to py39
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo committed Sep 8, 2024
1 parent 6048b7a commit e8cdf1e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions biliass/biliass.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
import random
import re
import xml.dom.minidom
from collections.abc import Generator
from typing import Callable, Tuple, TypeVar, Union
from collections.abc import Callable, Generator
from typing import TypeVar, Union

from biliass.protobuf.danmaku_pb2 import DanmakuEvent

Expand Down Expand Up @@ -42,7 +42,7 @@


T = TypeVar("T")
Comment = Tuple[float, float, int, str, Union[int, str], int, float, float, float]
Comment = tuple[float, float, int, str, Union[int, str], int, float, float, float]


def ReadCommentsBilibiliXml(text: str | bytes, fontsize: float) -> Generator[Comment, None, None]:
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ biliass = "biliass.__main__:main"

[tool.ruff]
line-length = 120
target-version = "py38"
target-version = "py39"
exclude = ["*_pb2.py"]

[tool.ruff.lint]
Expand Down

0 comments on commit e8cdf1e

Please sign in to comment.