Commit 93ab4311 authored by Willi Rath's avatar Willi Rath
Browse files

Fix indentation and decorator for static method

parent 18d6ca56
Loading
Loading
Loading
Loading
+39 −39
Original line number Diff line number Diff line
@@ -404,7 +404,7 @@ class ReadmeRenderer(Renderer):
        super(ReadmeRenderer, self).__init__(yaml_dict=yaml_dict, *args,
                                             **kwargs)

    @static
    @staticmethod
    def _maybe_include_credentials(yaml_dict):
        if "credential_files" not in yaml_dict:
            yaml_dict["maybe_credentials"] = ""
@@ -417,7 +417,7 @@ class ReadmeRenderer(Renderer):
            yaml_dict["maybe_credentials"] = textwrap.dedent(cred_string)
        return yaml_dict

        @static
    @staticmethod
    def _maybe_include_acknowledgements(yaml_dict):
        if "acknowledgements" not in yaml_dict:
            yaml_dict["acknowledgements_parsed"] = ""
@@ -435,7 +435,7 @@ class ReadmeRenderer(Renderer):
                ack_string)
        return yaml_dict

        @static
    @staticmethod
    def _maybe_include_citations(yaml_dict):
        if ("citations" not in yaml_dict or
                len(yaml_dict["citations"]) == 0):