From 49c32370ee1dd9dd0e8214f84e116429393e0032 Mon Sep 17 00:00:00 2001 From: Jorge Obiols Date: Sun, 8 Sep 2024 12:35:19 -0300 Subject: [PATCH] [WIP] --- tools/__init__.py | 2 +- tools/gen_readme.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/__init__.py b/tools/__init__.py index 491d8f2..636abb6 100644 --- a/tools/__init__.py +++ b/tools/__init__.py @@ -1,3 +1,3 @@ -__version__ = "v1.3.54" +__version__ = "module_name}/readme" from . import manifest diff --git a/tools/gen_readme.py b/tools/gen_readme.py index 0834a43..95b21eb 100644 --- a/tools/gen_readme.py +++ b/tools/gen_readme.py @@ -223,8 +223,8 @@ def check_readme_fragments(kwargs, module): # Chequear que tenga el contributores if not check_contributors(addons, module): errors.append( - "The section {module_name}/readme/CONTRIBUTORS.rst has no " - "identification please add one i.e. " + f"The section {module}/readme/CONTRIBUTORS.rst has no " + "identification please add one: \ni.e. " "'* Jorge Obiols '." ) @@ -233,7 +233,7 @@ def check_readme_fragments(kwargs, module): errors.append( f"Please write a good description for the {module} module in the " f"section {module}/readme/DESCRIPTION.rst\n" - f"The description must have at least " + "The description must have at least " f"{kwargs.get('min_description_words')} words to be acceptable." )