mirror of
https://github.com/TECHNOFAB11/bumpver.git
synced 2025-12-12 14:30:09 +01:00
lint fix
This commit is contained in:
parent
6cf3b4622e
commit
38ca84c5d9
2 changed files with 2 additions and 2 deletions
|
|
@ -122,7 +122,7 @@ def _update_cfg_from_vcs(cfg: config.Config, fetch: bool) -> config.Config:
|
||||||
_vcs = vcs.get_vcs()
|
_vcs = vcs.get_vcs()
|
||||||
log.debug(f"vcs found: {_vcs.name}")
|
log.debug(f"vcs found: {_vcs.name}")
|
||||||
if fetch:
|
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()
|
_vcs.fetch()
|
||||||
|
|
||||||
version_tags = [tag for tag in _vcs.ls_tags() if version.is_valid(tag, cfg.version_pattern)]
|
version_tags = [tag for tag in _vcs.ls_tags() if version.is_valid(tag, cfg.version_pattern)]
|
||||||
|
|
|
||||||
|
|
@ -89,7 +89,7 @@ class Config(typ.NamedTuple):
|
||||||
|
|
||||||
def _debug_str(cfg: Config) -> str:
|
def _debug_str(cfg: Config) -> str:
|
||||||
cfg_str_parts = [
|
cfg_str_parts = [
|
||||||
f"Config Parsed: Config(",
|
"Config Parsed: Config(",
|
||||||
f"current_version='{cfg.current_version}'",
|
f"current_version='{cfg.current_version}'",
|
||||||
"version_pattern='{pycalver}'",
|
"version_pattern='{pycalver}'",
|
||||||
f"pep440_version='{cfg.pep440_version}'",
|
f"pep440_version='{cfg.pep440_version}'",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue