From ae453744901eb5b96a7d50a754f99d4bd2dd4759 Mon Sep 17 00:00:00 2001 From: jjki3d Date: Sat, 17 Feb 2024 04:12:07 +0400 Subject: [PATCH] flake8 --- .readthedocs.yaml | 25 +++++++++++++++++++++++++ olgram/commands/menu.py | 3 ++- 2 files changed, 27 insertions(+), 1 deletion(-) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..13c8331 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,25 @@ +# Read the Docs configuration file for Sphinx projects + +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + + +# Required + +version: 2 + + +# Set the OS, Python version and other tools you might need + +build: + os: ubuntu-22.04 + tools: + python: "3.8" + jobs: + post_create_environment: + - python -m pip install sphinx_rtd_theme + +# Build documentation in the "docs/" directory with Sphinx + +sphinx: + + configuration: docs/source/conf.py diff --git a/olgram/commands/menu.py b/olgram/commands/menu.py index 4bc990b..0ca91bd 100644 --- a/olgram/commands/menu.py +++ b/olgram/commands/menu.py @@ -200,7 +200,8 @@ async def send_bot_settings_menu(bot: Bot, call: types.CallbackQuery): Потоки сообщений: {0} Данные пользователя: {1} Антифлуд: {2} - Автоответчик всегда: {3} + Автоответчик всегда: {3} + """)).format(thread_turn, info_turn, antiflood_turn, enable_always_second_message) if is_promo: