Skip to content

Commit f544614

Browse files
committed
fix: update required Python version to 3.11.0 and reorder type aliases for clarity
1 parent c048c19 commit f544614

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "pptxr"
33
version = "0.1.0"
44
description = "PowerPoint Builder"
55
readme = "README.md"
6-
requires-python = ">=3.11.9"
6+
requires-python = ">=3.11.0"
77
authors = [{ name = "yassun7010", email = "[email protected]" }]
88
dependencies = [
99
"Pillow>=10.0.0", # 画像処理用

src/pptxr/types/_length.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
CM_PER_INCH = 2.54 # 1 inch = 2.54 cm
99

1010
LiteralPoint = tuple[int, Literal["pt"]]
11-
LiteralInch = tuple[float, Literal["in"]]
1211
LiteralCentimeter = tuple[float, Literal["cm"]]
12+
LiteralInch = tuple[float, Literal["in"]]
1313

14-
LiteralLength = LiteralPoint | LiteralInch | LiteralCentimeter
14+
LiteralLength = LiteralPoint | LiteralCentimeter | LiteralInch
1515

1616

1717
class Inch:

0 commit comments

Comments
 (0)