Skip to content

Commit 37c15e4

Browse files
committed
Use cyclopts; add pygithub package for dev
1 parent 8fb1998 commit 37c15e4

File tree

3 files changed

+262
-41
lines changed

3 files changed

+262
-41
lines changed

bin/bump_version.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
from pathlib import Path
1616
from textwrap import dedent
1717

18-
import typer
18+
import cyclopts
1919
from packaging.version import InvalidVersion, Version
2020

2121
try:
@@ -540,4 +540,4 @@ def bump_version() -> None:
540540

541541
if __name__ == "__main__":
542542
os.chdir(Path(__file__).parent.parent.resolve())
543-
typer.run(bump_version)
543+
cyclopts.run(bump_version)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ repository = "https://github.com/pikepdf/pikepdf"
3333
changelog = "https://pikepdf.readthedocs.io/en/latest/releasenotes/index.html"
3434

3535
[project.optional-dependencies]
36-
dev = ["pre-commit", "typer", "mypy"]
36+
dev = ["pre-commit", "cyclopts", "mypy", "pygithub"]
3737
docs = [
3838
"myst-parser>=3.0.1",
3939
"sphinx>=3",

0 commit comments

Comments
 (0)