From 23211e6b60019cddb62377b461f7faa604e81923 Mon Sep 17 00:00:00 2001 From: gardar Date: Thu, 23 May 2024 10:48:45 +0000 Subject: [PATCH] fix: lint Signed-off-by: gardar --- src/antsibull_changelog/config.py | 4 ++-- src/antsibull_changelog/yaml.py | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/antsibull_changelog/config.py b/src/antsibull_changelog/config.py index 5406c63..745371d 100644 --- a/src/antsibull_changelog/config.py +++ b/src/antsibull_changelog/config.py @@ -468,7 +468,7 @@ def __init__( ) from exc self.add_plugin_period = self.config.get("add_plugin_period", False) - + self.changelog_nice_yaml = self.config.get("changelog_nice_yaml", False) self._validate_config(ignore_is_other_project) @@ -520,7 +520,7 @@ def store(self) -> None: # noqa: C901 "trivial_section_name": self.trivial_section_name, "ignore_other_fragment_extensions": self.ignore_other_fragment_extensions, "sanitize_changelog": self.sanitize_changelog, - "add_plugin_period": self.add_plugin_period, + "add_plugin_period": self.add_plugin_period, "changelog_nice_yaml": self.changelog_nice_yaml, } diff --git a/src/antsibull_changelog/yaml.py b/src/antsibull_changelog/yaml.py index 61b00ac..ef6d732 100644 --- a/src/antsibull_changelog/yaml.py +++ b/src/antsibull_changelog/yaml.py @@ -14,7 +14,6 @@ import yaml - _SafeLoader: Any _SafeDumper: Any try: