Skip to content

Commit

Permalink
Fix imports using ruff, remove explicit typing-extensions dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
insolor committed May 3, 2024
1 parent c507137 commit 80b6f0e
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion df_translation_toolkit/utils/po_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

from babel.messages import Catalog
from babel.messages.pofile import read_po, write_po
from typing_extensions import TextIO
from typing import TextIO


@dataclass
Expand Down
2 changes: 1 addition & 1 deletion df_translation_toolkit/validation/validate_objects.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from typing import Iterator
from collections.abc import Iterator

from df_translation_toolkit.parse.parse_raws import all_caps, split_tag
from df_translation_toolkit.validation.validation_models import ProblemSeverity, ValidationProblem
Expand Down
2 changes: 1 addition & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ babel = "^2.14.0"
requests = "^2.31.0"
jinja2 = "^3.1.3"
cairosvg = "^2.7.0"
typing-extensions = "^4.11.0"

[tool.poetry.group.dev.dependencies]
pytest = "^8.2.0"
Expand Down

0 comments on commit 80b6f0e

Please sign in to comment.