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

Commit

Permalink
🏷️ typing: add re-exports
Browse files Browse the repository at this point in the history
  • Loading branch information
SigureMo committed May 21, 2024
1 parent a8aa20e commit 2fc336d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions biliass/__init__.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
from __future__ import annotations

from .biliass import (
Danmaku2ASS,
ReadCommentsBilibiliProtobuf,
ReadCommentsBilibiliXml,
Danmaku2ASS as Danmaku2ASS,
ReadCommentsBilibiliProtobuf as ReadCommentsBilibiliProtobuf,
ReadCommentsBilibiliXml as ReadCommentsBilibiliXml,
)

__version__ = "1.3.10"
3 changes: 1 addition & 2 deletions biliass/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
import logging
import sys

from biliass import Danmaku2ASS
from biliass import __version__ as biliass_version
from biliass import Danmaku2ASS, __version__ as biliass_version


def main():
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ ignore = [

[tool.ruff.lint.isort]
required-imports = ["from __future__ import annotations"]
combine-as-imports = true
known-first-party = ["biliass"]

[tool.ruff.lint.per-file-ignores]
Expand Down

0 comments on commit 2fc336d

Please sign in to comment.