From f80737c37b75f6778d366286f06c1cb4a7e2cc12 Mon Sep 17 00:00:00 2001 From: Robert Resch Date: Sun, 30 Jan 2022 12:01:40 +0100 Subject: [PATCH] run codespell --- .pre-commit-config.yaml | 2 +- README.md | 2 +- bumper/plugins/bumper_confserver_portal_appsvr.py | 2 +- bumper/xmppserver.py | 2 +- tests/test_xmppserver.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d2d0d97..4d8539d 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -24,7 +24,7 @@ repos: hooks: - id: codespell args: - - --ignore-words-list=hass,deebot + - -L bumper - --skip="./.*,*.csv,*.json" - --quiet-level=2 exclude_types: [csv, json] diff --git a/README.md b/README.md index 9704fcc..f6aa939 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ A Gitter community has been created for Bumper so users can chat and dig into is ***Testing needed*** -Bumper needs users to assist with testing in order to ensure compatability as bumper moves forward! If you've tested Bumper with your bot, please open an issue with details on success or issues. +Bumper needs users to assist with testing in order to ensure compatibility as bumper moves forward! If you've tested Bumper with your bot, please open an issue with details on success or issues. ***Please note**: this software is experimental and not ready for production use. Use at your own risk.* diff --git a/bumper/plugins/bumper_confserver_portal_appsvr.py b/bumper/plugins/bumper_confserver_portal_appsvr.py index 60dbb85..c47b22a 100644 --- a/bumper/plugins/bumper_confserver_portal_appsvr.py +++ b/bumper/plugins/bumper_confserver_portal_appsvr.py @@ -143,7 +143,7 @@ class portal_api_appsvr(plugins.ConfServerApp): # "auth": { # "realm": "ecouser.net", # "resource": "res", - # "token": "toke", + # "token": "token", # "userid": "userid", # "with": "users" # }, diff --git a/bumper/xmppserver.py b/bumper/xmppserver.py index fbced1a..8dbd5cc 100644 --- a/bumper/xmppserver.py +++ b/bumper/xmppserver.py @@ -756,7 +756,7 @@ class XMPPAsyncClient: if ( "no element found" in e.msg ): # Element not closed or not all bytes received - # Happens wth connect stream often + # Happens with connect stream often if "' xmppclient._parse_data(test_data) @@ -418,7 +418,7 @@ async def test_bot_init(*args, **kwargs): # Reset mock calls mock_send.reset_mock() - # Send presense from bot + # Send presence from bot test_data = b"hello world" xmppclient._parse_data(test_data)