This commit is contained in:
Manuel Barkhau 2020-05-25 09:40:26 +00:00
parent 6cf3b4622e
commit 38ca84c5d9
2 changed files with 2 additions and 2 deletions

View file

@ -122,7 +122,7 @@ def _update_cfg_from_vcs(cfg: config.Config, fetch: bool) -> config.Config:
_vcs = vcs.get_vcs()
log.debug(f"vcs found: {_vcs.name}")
if fetch:
log.info(f"fetching tags from remote (to turn off use: -n / --no-fetch)")
log.info("fetching tags from remote (to turn off use: -n / --no-fetch)")
_vcs.fetch()
version_tags = [tag for tag in _vcs.ls_tags() if version.is_valid(tag, cfg.version_pattern)]

View file

@ -89,7 +89,7 @@ class Config(typ.NamedTuple):
def _debug_str(cfg: Config) -> str:
cfg_str_parts = [
f"Config Parsed: Config(",
"Config Parsed: Config(",
f"current_version='{cfg.current_version}'",
"version_pattern='{pycalver}'",
f"pep440_version='{cfg.pep440_version}'",