diff --git a/src/buildsys_dateversion/_hooks.py b/src/buildsys_dateversion/_hooks.py index 7030082..b094f6f 100644 --- a/src/buildsys_dateversion/_hooks.py +++ b/src/buildsys_dateversion/_hooks.py @@ -135,9 +135,9 @@ def distribution_name(self) -> str: @property def version(self) -> str: if "dateversion-distribution-version" not in self.config_settings: - self.config_settings[ - "dateversion-distribution-version" - ] = self._get_version() + self.config_settings["dateversion-distribution-version"] = ( + self._get_version() + ) return self.config_settings["dateversion-distribution-version"] def _get_version(self) -> str: