From baaba1139d6607d0395fbbf3bda953a7d3c6bdc6 Mon Sep 17 00:00:00 2001 From: Robert Rosca <32569096+RobertRosca@users.noreply.github.com> Date: Sat, 24 Aug 2024 11:37:05 +0200 Subject: [PATCH] chore: linting/style changes --- src/zulip_write_only_proxy/_logging.py | 2 +- src/zulip_write_only_proxy/frontend/templates/index.html | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/zulip_write_only_proxy/_logging.py b/src/zulip_write_only_proxy/_logging.py index 523d297f..079dad09 100644 --- a/src/zulip_write_only_proxy/_logging.py +++ b/src/zulip_write_only_proxy/_logging.py @@ -17,7 +17,7 @@ def logger_name_callsite(logger, method_name, event_dict): if not event_dict.get("logger_name"): logger_name = f"{event_dict.pop('module')}.{event_dict.pop('func_name')}" if not event_dict.pop("disable_name", False): - event_dict["logger_name"] = logger_name.strip(".") + event_dict["logger_name"] = logger_name.strip(".") # pyright: ignore[reportInvalidTypeForm] return event_dict diff --git a/src/zulip_write_only_proxy/frontend/templates/index.html b/src/zulip_write_only_proxy/frontend/templates/index.html index d2c21977..99cfc745 100644 --- a/src/zulip_write_only_proxy/frontend/templates/index.html +++ b/src/zulip_write_only_proxy/frontend/templates/index.html @@ -2,7 +2,5 @@ {% block content %} - Login + Login {% endblock %}