Skip to content

Commit e9033d3

Browse files
Run ruff format
1 parent 569fc29 commit e9033d3

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

src/setuptools_scm/_integration/setuptools.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

src/setuptools_scm/version.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff 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(

0 commit comments

Comments
 (0)