From cc4afd61140a29dd3c55caf2ae7c35a4678622dd Mon Sep 17 00:00:00 2001 From: HsiangNianian Date: Sun, 20 Oct 2024 10:40:49 +0800 Subject: [PATCH] feat: remove git-webhook code and related config in examples --- examples/plugins/{git-webhook => _git-webhook}/__init__.py | 7 +------ examples/plugins/{git-webhook => _git-webhook}/config.py | 0 2 files changed, 1 insertion(+), 6 deletions(-) rename examples/plugins/{git-webhook => _git-webhook}/__init__.py (96%) rename examples/plugins/{git-webhook => _git-webhook}/config.py (100%) diff --git a/examples/plugins/git-webhook/__init__.py b/examples/plugins/_git-webhook/__init__.py similarity index 96% rename from examples/plugins/git-webhook/__init__.py rename to examples/plugins/_git-webhook/__init__.py index dfbc644f..52a6f71a 100644 --- a/examples/plugins/git-webhook/__init__.py +++ b/examples/plugins/_git-webhook/__init__.py @@ -75,9 +75,4 @@ def _format_event(self, event_type, data): elif isinstance(EVENT_DESCRIPTIONS[event_type], str): return EVENT_DESCRIPTIONS[event_type].format(**data) except KeyError: - return None - - -""" ->smee -u https://smee.io/MHldOrjI8msgNUa5 -p 8888 -""" + return None \ No newline at end of file diff --git a/examples/plugins/git-webhook/config.py b/examples/plugins/_git-webhook/config.py similarity index 100% rename from examples/plugins/git-webhook/config.py rename to examples/plugins/_git-webhook/config.py