diff --git a/pyproject.toml b/pyproject.toml index ac3e565..286b259 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -3,7 +3,7 @@ build-backend = "hatchling.build" requires = [ "hatch-fancy-pypi-readme", "hatch-vcs", - "hatchling", + "hatchling<1.27", ] [project] diff --git a/src/jinjanator_plugins/__init__.py b/src/jinjanator_plugins/__init__.py index 2760114..ed84d52 100644 --- a/src/jinjanator_plugins/__init__.py +++ b/src/jinjanator_plugins/__init__.py @@ -63,8 +63,7 @@ def __init__(self, fmt: Union[type[Format], Format], option: str, value: str, me def __str__(self) -> str: return ( - f"Format {self.fmt.name}: option '{self.option}' value '{self.value}'" - f" {self.message}." + f"Format {self.fmt.name}: option '{self.option}' value '{self.value}' {self.message}." )