Skip to content

Commit 74755dc

Browse files
committed
Fix Python 3.10 support.
1 parent 39a1338 commit 74755dc

File tree

3 files changed

+7
-27
lines changed

3 files changed

+7
-27
lines changed

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ requires-python = ">=3.10,<4.0"
1717
dynamic = ["version"]
1818

1919
dependencies = [
20-
"strif>=2.0.0",
20+
"strif>=2.0.2",
2121
"humanize>=4.11.0",
2222
]
2323

‎src/prettyfmt/prettyfmt.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ def fmt_path(path: str | Path, resolve: bool = True) -> str:
420420
Format a path or filename for display. This quotes it if it contains whitespace,
421421
using Python conventions: `my long path.txt` is formatted as `'my long path.txt'`.
422422
423-
:param resolve: If true paths are resolved. If they are within the current working
423+
:param resolve: If true, paths are resolved. If they are within the current working
424424
directory, they are formatted as relative. Otherwise, they are formatted as absolute.
425425
"""
426426

‎uv.lock‎

Lines changed: 5 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)