From b796010c4b0c37145bbc0440bf589d7d44687563 Mon Sep 17 00:00:00 2001 From: Gianluca Pernigotto Date: Fri, 2 Aug 2024 23:18:01 +0200 Subject: [PATCH] update doc strings --- hatch_build.py | 6 +++++- pyproject.toml | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/hatch_build.py b/hatch_build.py index 1df48667..a5065171 100644 --- a/hatch_build.py +++ b/hatch_build.py @@ -2,6 +2,9 @@ # -*- coding: UTF-8 -*- """ Name: hatch_build.py +Porpose: Defines code that will be executed at various stages + of the build process, see [tool.hatch.build.hooks.custom] on + pyproject.toml file. Author: Gianluca Pernigotto Copyleft - 2024 Gianluca Pernigotto license: GPL3 @@ -31,7 +34,8 @@ class VideomassLanguageBuildHook(BuildHookInterface): """ Compile the translation files from their PO-format into - their binary representating MO-format using python `babel`. + their binary representating MO-format using python `babel` + pluggin. """ def initialize(self, version, build_data): """ diff --git a/pyproject.toml b/pyproject.toml index 90c0fe0f..f0f62639 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -74,7 +74,7 @@ pyinstaller = [ "pyinstaller", ] -[tool.hatch.build.hooks.custom] # pluggin to compile langs catalog +[tool.hatch.build.hooks.custom] # see hatch_build.py file dependencies = [ "babel" ]