From 9c2656aecf5489fece27f00a1dcff9d447c38244 Mon Sep 17 00:00:00 2001 From: claravox Date: Mon, 9 Sep 2024 16:16:23 +0200 Subject: [PATCH] lint --- publication.py | 2 +- troubleshoot_data.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/publication.py b/publication.py index dd538c20f..05d60e168 100644 --- a/publication.py +++ b/publication.py @@ -746,7 +746,7 @@ def process_publication(ctx, vault_package): # Set the link to previous publication state publication_state["baseDOI"] = previous_publication_state["baseDOI"] publication_state["baseDOIMinted"] = previous_publication_state["baseDOIMinted"] - publication_state["baseRandomId"] = previous_publication_state["baseRandomId"] #TODO: what is this + publication_state["baseRandomId"] = previous_publication_state["baseRandomId"] # TODO: what is this # Create base DOI if it does not exist in the previous publication state. elif "baseDOI" not in previous_publication_state: diff --git a/troubleshoot_data.py b/troubleshoot_data.py index 523311afa..0723ab846 100644 --- a/troubleshoot_data.py +++ b/troubleshoot_data.py @@ -7,13 +7,13 @@ __all__ = ['rule_batch_troubleshoot_published_data_packages'] import json -import requests import genquery +import requests import datacite -from publication import get_publication_config from meta import vault_metadata_matches_schema +from publication import get_publication_config from util import *