diff --git a/obsws_cli/__about__.py b/obsws_cli/__about__.py index 6bc3a16..ca3c7da 100644 --- a/obsws_cli/__about__.py +++ b/obsws_cli/__about__.py @@ -1,4 +1,4 @@ # SPDX-FileCopyrightText: 2025-present onyx-and-iris # # SPDX-License-Identifier: MIT -__version__ = "0.20.0" +__version__ = '0.20.0' diff --git a/obsws_cli/__init__.py b/obsws_cli/__init__.py index c412b50..367b928 100644 --- a/obsws_cli/__init__.py +++ b/obsws_cli/__init__.py @@ -4,4 +4,4 @@ from .app import app -__all__ = ["app"] +__all__ = ['app'] diff --git a/obsws_cli/settings.py b/obsws_cli/settings.py index 0092685..e2085bc 100644 --- a/obsws_cli/settings.py +++ b/obsws_cli/settings.py @@ -16,6 +16,7 @@ class Settings(UserDict): The settings are expected to be in uppercase and should start with 'OBS_'. Example: + ------- settings = Settings() host = settings['OBS_HOST'] settings['OBS_PORT'] = 4455 @@ -64,12 +65,15 @@ def get(key: str) -> SettingsValue: """Get a setting value by key. Args: + ---- key (str): The key of the setting to retrieve. Returns: + ------- The value of the setting. Raises: + ------ KeyError: If the key does not exist in the settings. """