run codespell
This commit is contained in:
parent
80f778c031
commit
f80737c37b
5 changed files with 6 additions and 6 deletions
|
|
@ -24,7 +24,7 @@ repos:
|
||||||
hooks:
|
hooks:
|
||||||
- id: codespell
|
- id: codespell
|
||||||
args:
|
args:
|
||||||
- --ignore-words-list=hass,deebot
|
- -L bumper
|
||||||
- --skip="./.*,*.csv,*.json"
|
- --skip="./.*,*.csv,*.json"
|
||||||
- --quiet-level=2
|
- --quiet-level=2
|
||||||
exclude_types: [csv, json]
|
exclude_types: [csv, json]
|
||||||
|
|
|
||||||
|
|
@ -24,7 +24,7 @@ A Gitter community has been created for Bumper so users can chat and dig into is
|
||||||
|
|
||||||
|
|
||||||
***Testing needed***
|
***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.*
|
***Please note**: this software is experimental and not ready for production use. Use at your own risk.*
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -143,7 +143,7 @@ class portal_api_appsvr(plugins.ConfServerApp):
|
||||||
# "auth": {
|
# "auth": {
|
||||||
# "realm": "ecouser.net",
|
# "realm": "ecouser.net",
|
||||||
# "resource": "res",
|
# "resource": "res",
|
||||||
# "token": "toke",
|
# "token": "token",
|
||||||
# "userid": "userid",
|
# "userid": "userid",
|
||||||
# "with": "users"
|
# "with": "users"
|
||||||
# },
|
# },
|
||||||
|
|
|
||||||
|
|
@ -756,7 +756,7 @@ class XMPPAsyncClient:
|
||||||
if (
|
if (
|
||||||
"no element found" in e.msg
|
"no element found" in e.msg
|
||||||
): # Element not closed or not all bytes received
|
): # Element not closed or not all bytes received
|
||||||
# Happens wth connect stream often
|
# Happens with connect stream often
|
||||||
if "<stream:stream " in newdata:
|
if "<stream:stream " in newdata:
|
||||||
if self.state == self.CONNECT or self.state == self.INIT:
|
if self.state == self.CONNECT or self.state == self.INIT:
|
||||||
self._handle_connect(newdata.encode("utf-8"))
|
self._handle_connect(newdata.encode("utf-8"))
|
||||||
|
|
|
||||||
|
|
@ -312,7 +312,7 @@ async def test_client_init(*args, **kwargs):
|
||||||
# Reset mock calls
|
# Reset mock calls
|
||||||
mock_send.reset_mock()
|
mock_send.reset_mock()
|
||||||
|
|
||||||
# Send presense from client
|
# Send presence from client
|
||||||
test_data = b'<presence type="available"/>'
|
test_data = b'<presence type="available"/>'
|
||||||
xmppclient._parse_data(test_data)
|
xmppclient._parse_data(test_data)
|
||||||
|
|
||||||
|
|
@ -418,7 +418,7 @@ async def test_bot_init(*args, **kwargs):
|
||||||
# Reset mock calls
|
# Reset mock calls
|
||||||
mock_send.reset_mock()
|
mock_send.reset_mock()
|
||||||
|
|
||||||
# Send presense from bot
|
# Send presence from bot
|
||||||
test_data = b"<presence><status>hello world</status></presence><iq type='result' from='E0000000000000001234@159.ecorobot.net/atom' to='ecouser.net' id='s2c1'/>"
|
test_data = b"<presence><status>hello world</status></presence><iq type='result' from='E0000000000000001234@159.ecorobot.net/atom' to='ecouser.net' id='s2c1'/>"
|
||||||
xmppclient._parse_data(test_data)
|
xmppclient._parse_data(test_data)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue