From 5341653435a5aa632bea1205608c79e70c4da338 Mon Sep 17 00:00:00 2001 From: Aaron Meurer Date: Thu, 12 Oct 2023 15:47:12 -0600 Subject: [PATCH] Run black --- conda-store-server/conda_store_server/app.py | 5 +---- conda-store-server/conda_store_server/server/app.py | 8 ++++++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/conda-store-server/conda_store_server/app.py b/conda-store-server/conda_store_server/app.py index af93cb225..52af84ef2 100644 --- a/conda-store-server/conda_store_server/app.py +++ b/conda-store-server/conda_store_server/app.py @@ -205,10 +205,7 @@ class CondaStore(LoggingConfigurable): ) database_url = Unicode( - "sqlite:///" - + str( - PurePosixPath(CONDA_STORE_DIR) / "conda-store.sqlite" - ), + "sqlite:///" + str(PurePosixPath(CONDA_STORE_DIR) / "conda-store.sqlite"), help="url for the database. e.g. 'sqlite:///conda-store.sqlite' tables will be automatically created if they do not exist", config=True, ) diff --git a/conda-store-server/conda_store_server/server/app.py b/conda-store-server/conda_store_server/server/app.py index f763b4fd5..f45198005 100644 --- a/conda-store-server/conda_store_server/server/app.py +++ b/conda-store-server/conda_store_server/server/app.py @@ -180,8 +180,12 @@ def initialize(self, *args, **kwargs): self.conda_store = CondaStore(parent=self, log=self.log) self.conda_store.ensure_directories() - self.log.info(f"Running conda-store with database: {self.conda_store.database_url}") - self.log.info(f"Running conda-store with storage: {self.conda_store.store_directory}") + self.log.info( + f"Running conda-store with database: {self.conda_store.database_url}" + ) + self.log.info( + f"Running conda-store with storage: {self.conda_store.store_directory}" + ) if self.conda_store.upgrade_db: dbutil.upgrade(self.conda_store.database_url)