From c791745e2aa44a9065490dbf9e982326e6ba4319 Mon Sep 17 00:00:00 2001 From: Denis Nutiu Date: Mon, 5 Jun 2023 12:33:49 +0300 Subject: [PATCH] format code --- app/tests/utils_test.py | 7 ++----- docs/conf.py | 8 ++++---- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/app/tests/utils_test.py b/app/tests/utils_test.py index a1fc872..420360c 100644 --- a/app/tests/utils_test.py +++ b/app/tests/utils_test.py @@ -1,10 +1,7 @@ import pytest -from app.utils import ( - guard_against_none, - guard_against_none_or_empty_str, - key_error_silence, -) +from app.utils import (guard_against_none, guard_against_none_or_empty_str, + key_error_silence) def test_key_error_silence(): diff --git a/docs/conf.py b/docs/conf.py index b3bf3a1..4e940cd 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -14,16 +14,16 @@ html_logo = "_static/nuculabs_logo.png" # -- General configuration --------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration -extensions = ['autoapi.extension', "myst_parser"] +extensions = ["autoapi.extension", "myst_parser"] templates_path = ["_templates"] exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] -source_suffix = ['.rst', '.md'] +source_suffix = [".rst", ".md"] # AutoAPI -autoapi_type = 'python' -autoapi_dirs = ['../app'] +autoapi_type = "python" +autoapi_dirs = ["../app"] # -- Options for HTML output ------------------------------------------------- # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output