Skip to content

Commit

Permalink
Clean up lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jryburn committed Mar 1, 2024
1 parent 37144a6 commit e559b97
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions extensions/eda/plugins/event_source/kentik_webhook.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Arguments:
---------
host: The hostname to listen to. Defaults to 0.0.0.0 (all interfaces)
host: The hostname to listen to. Defaults to 127.0.0.1 (localhost)
port: The TCP port to listen to. Defaults to 5000
"""
Expand Down Expand Up @@ -76,12 +76,12 @@ def set_app_attr(args: dict[str, Any]) -> dict[str, Any]:
Parameters
----------
args : Dict[str,Any]
args : dict[str,Any]
Empty dictionary of arguments
Returns
-------
args : Dict[str,Any]
args : dict[str,Any]
Args containing the host and port
"""
Expand All @@ -100,8 +100,8 @@ async def main(queue: asyncio.Queue, args: dict[str, Any]) -> None:
----------
queue : asyncio.Queue
Problem queue
args : Dict[str,Any])
Args containing the host and port
args : dict[str,Any]
Dictionary of args containing the host and port
"""
_initialize_logger_config()
Expand Down Expand Up @@ -140,7 +140,7 @@ class MockQueue:

async def put(self: "MockQueue", event: dict) -> None:
"""Print the event."""
print(event)
print(event) # noqa: T201

asyncio.run(
main(
Expand Down
2 changes: 1 addition & 1 deletion galaxy.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
namespace: kentik
name: ansible_eda
version: 1.0.2
version: 1.0.3
readme: README.md
authors:
- Kentik <[email protected]>
Expand Down
Binary file not shown.

0 comments on commit e559b97

Please sign in to comment.