From 8439d4290ae0404c90263ade41b6775c212ca66a Mon Sep 17 00:00:00 2001 From: Manuel Barkhau Date: Sun, 4 Oct 2020 17:13:41 +0000 Subject: [PATCH] cleanups --- README.md | 7 ++----- makefile | 3 ++- makefile.bootstrapit.make | 2 +- src/pycalver/__main__.py | 4 ++-- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 1173589..065becd 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@

- logo + logo

@@ -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 diff --git a/makefile b/makefile index 3a7a07e..58ab0c9 100644 --- a/makefile +++ b/makefile @@ -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 \ diff --git a/makefile.bootstrapit.make b/makefile.bootstrapit.make index 74a60fb..13aef98 100644 --- a/makefile.bootstrapit.make +++ b/makefile.bootstrapit.make @@ -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"; diff --git a/src/pycalver/__main__.py b/src/pycalver/__main__.py index 8d66a17..9267542 100755 --- a/src/pycalver/__main__.py +++ b/src/pycalver/__main__.py @@ -136,7 +136,7 @@ def cli(verbose: int = 0) -> None: "--date", default=None, metavar="", - 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="", - 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,