From c5c45e39d90c8539536fe9c7b65429a67f4071a3 Mon Sep 17 00:00:00 2001 From: Jan Speller Date: Mon, 23 Jan 2023 14:22:08 +0100 Subject: [PATCH 1/2] Fix Method calll to asyncRequests after function was made Private --- plugin/http.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/http.py b/plugin/http.py index 1af3035..fa14036 100644 --- a/plugin/http.py +++ b/plugin/http.py @@ -72,7 +72,7 @@ class BoswatchPlugin(PluginBase): loop = asyncio.get_event_loop() - future = asyncio.ensure_future(self.asyncRequests(urls)) + future = asyncio.ensure_future(self._asyncRequests(urls)) loop.run_until_complete(future) async def _asyncRequests(self, urls): From aef8d6f46d3b3fc70bfec731ae3d2febba0fd1ee Mon Sep 17 00:00:00 2001 From: Jan Speller Date: Mon, 23 Jan 2023 14:22:25 +0000 Subject: [PATCH 2/2] Limit flake8 to 4.0.1 to fix tests --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 5e215ff..0cca07d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,6 +8,7 @@ mkdocs # for develope only pytest pytest-cov +flake8==4.0.1 pytest-flake8 pytest-flakes pytest-randomly