Skip to content

Commit 83c2994

Browse files
committed
Fix clickx.config_option formats parameter for v7
1 parent 82dd0d2 commit 83c2994

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ write_to = "_version.py"
1313

1414
[project]
1515
name = "tptools"
16-
version = "0.6.5"
16+
version = "0.6.6"
1717
authors = [{ name = "martin f. krafft", email = "[email protected]" }]
1818
description = "A set of tools to export data from with TournamentSoftware"
1919
readme = "README.md"

tptools/tpsrv/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ def pong(request: Request) -> str:
8787
@clickx.config_option( # type: ignore[untyped-decorator]
8888
strict=True,
8989
show_default=True,
90-
formats=clickx.ConfigFormat.TOML,
90+
file_format_patterns=clickx.ConfigFormat.TOML,
9191
# TODO:https://github.com/kdeldycke/click-extra/issues/1356 for str() call
9292
default=str(pathlib.Path(click.get_app_dir("tptools", roaming=True)) / "cfg.toml"),
9393
)

0 commit comments

Comments
 (0)