This commit is contained in:
Manuel Barkhau 2020-10-04 17:13:41 +00:00
parent c3955efcc0
commit 8439d4290a
4 changed files with 7 additions and 9 deletions

View file

@ -1,6 +1,6 @@
<div align="center">
<p align="center">
<img alt="logo" src="https://gitlab.com/mbarkhau/pycalver/-/raw/pycalver2/pycalver1k_128.png">
<img alt="logo" src="https://gitlab.com/mbarkhau/pycalver/-/raw/master/pycalver1k2_128.png">
</p>
</div>
@ -834,16 +834,13 @@ To maintain lexical ordering of version numbers, the version number is padded
with extra zeros (see [Lexical Ids](#lexical-ids) ).
### Lexical Ids
VCS tags.
## Semantics of PyCalVer
This sorting even works correctly in JavaScript!
## Semantics of PyCalVer
> Disclaimer: This section can of course only be aspirational. There is nothing
> to prevent package maintainers from publishing packages with different

View file

@ -64,7 +64,8 @@ test_compat: $(COMPAT_TEST_FILES)
rm -rf compat_test/
depgraph:
pycalver_deps.svg:
pydeps src/pycalver \
--no-show --noise-level 3 \
--reverse --include-missing \

View file

@ -336,7 +336,7 @@ lint_flake8:
@printf "\e[1F\e[9C ok\n"
## Run pylint.
## Run pylint --errors-only.
.PHONY: lint_pylint_errors
lint_pylint_errors:
@printf "pylint ..\n";

View file

@ -136,7 +136,7 @@ def cli(verbose: int = 0) -> None:
"--date",
default=None,
metavar="<iso-date>",
help=f"Set explicit date in format YYYY-0M-0D\n(eg. {_current_date}).",
help=f"Set explicit date in format YYYY-0M-0D (e.g. {_current_date}).",
)
def test(
old_version: str,
@ -521,7 +521,7 @@ def _update_cfg_from_vcs(cfg: config.Config, fetch: bool) -> config.Config:
"--date",
default=None,
metavar="<iso-date>",
help=f"Set explicit date in format YYYY-0M-0D\n(eg. {_current_date}).",
help=f"Set explicit date in format YYYY-0M-0D (e.g. {_current_date}).",
)
def bump(
release : typ.Optional[str] = None,