File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -82,9 +82,9 @@ def version_keyword(
8282 assert isinstance (value , dict ), "version_keyword expects a dict or True"
8383 overrides = value
8484
85- assert (
86- "dist_name" not in overrides
87- ), "dist_name may not be specified in the setup keyword "
85+ assert "dist_name" not in overrides , (
86+ "dist_name may not be specified in the setup keyword "
87+ )
8888 dist_name : str | None = dist .metadata .name
8989 _log_hookstart ("version_keyword" , dist )
9090
Original file line number Diff line number Diff line change @@ -381,8 +381,7 @@ def guess_next_date_ver(
381381 if tag_date > head_date and match is not None :
382382 # warn on future times
383383 warnings .warn (
384- f"your previous tag ({ tag_date } )"
385- f" is ahead your node date ({ head_date } )"
384+ f"your previous tag ({ tag_date } ) is ahead your node date ({ head_date } )"
386385 )
387386 patch = 0
388387 next_version = "{node_date:{date_fmt}}.{patch}" .format (
You can’t perform that action at this time.
0 commit comments