format code

This commit is contained in:
Denis-Cosmin Nutiu 2023-06-05 12:33:49 +03:00
parent c6e4b4c9ea
commit c791745e2a
2 changed files with 6 additions and 9 deletions

View file

@ -1,10 +1,7 @@
import pytest import pytest
from app.utils import ( from app.utils import (guard_against_none, guard_against_none_or_empty_str,
guard_against_none, key_error_silence)
guard_against_none_or_empty_str,
key_error_silence,
)
def test_key_error_silence(): def test_key_error_silence():

View file

@ -14,16 +14,16 @@ html_logo = "_static/nuculabs_logo.png"
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#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"] templates_path = ["_templates"]
exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"]
source_suffix = ['.rst', '.md'] source_suffix = [".rst", ".md"]
# AutoAPI # AutoAPI
autoapi_type = 'python' autoapi_type = "python"
autoapi_dirs = ['../app'] autoapi_dirs = ["../app"]
# -- Options for HTML output ------------------------------------------------- # -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output # https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output