From 604ad2f8e77dc331839ca2ce6c46ed48eb78f4ca Mon Sep 17 00:00:00 2001 From: Jack Michaud Date: Sun, 1 Jan 2023 10:21:52 -0500 Subject: [PATCH] style: run pre-commit hooks --- backend/print_openapi_schema.py | 2 ++ discord-bot/tests/test_oasst_api_client.py | 3 ++- scripts/backend-development/start-mock-server.sh | 1 - scripts/discord-bot-development/test.sh | 1 - 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/backend/print_openapi_schema.py b/backend/print_openapi_schema.py index 23d5f6b2..e724cc7e 100644 --- a/backend/print_openapi_schema.py +++ b/backend/print_openapi_schema.py @@ -1,4 +1,6 @@ +# -*- coding: utf-8 -*- import json + from main import app diff --git a/discord-bot/tests/test_oasst_api_client.py b/discord-bot/tests/test_oasst_api_client.py index 50ea6d5b..c5cafe99 100644 --- a/discord-bot/tests/test_oasst_api_client.py +++ b/discord-bot/tests/test_oasst_api_client.py @@ -1,7 +1,8 @@ +# -*- coding: utf-8 -*- from uuid import uuid4 + import pytest from bot.api_client import OasstApiClient - from oasst_shared.schemas import protocol as protocol_schema diff --git a/scripts/backend-development/start-mock-server.sh b/scripts/backend-development/start-mock-server.sh index 4bd3b09c..e27f532e 100755 --- a/scripts/backend-development/start-mock-server.sh +++ b/scripts/backend-development/start-mock-server.sh @@ -39,4 +39,3 @@ fi popd - diff --git a/scripts/discord-bot-development/test.sh b/scripts/discord-bot-development/test.sh index f863f74e..a45adf00 100755 --- a/scripts/discord-bot-development/test.sh +++ b/scripts/discord-bot-development/test.sh @@ -7,4 +7,3 @@ pushd "$parent_path/../../discord-bot" pytest . popd -