Skip to content

Commit fc8c697

Browse files
DrorShDror Shvadron
andauthored
Fix TypeError with Click Sentinel in Python 3.14 (#723)
Co-authored-by: Dror Shvadron <dror.shvadron@rotman.utoronto.ca>
1 parent 5c4f932 commit fc8c697

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/_pytask/mark/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,14 @@ def pytask_extend_command_line_interface(cli: click.Group) -> None:
9292
metavar="MARKER_EXPRESSION",
9393
type=str,
9494
help="Select tasks via marker expressions.",
95+
default=None,
9596
),
9697
click.Option(
9798
["-k", "expression"],
9899
metavar="EXPRESSION",
99100
type=str,
100101
help="Select tasks via expressions on task ids.",
102+
default=None,
101103
),
102104
]
103105
for command in ("build", "clean", "collect"):

0 commit comments

Comments
 (0)