From 4e8f21752637da2c6a1615a2cb03215f3195fdc9 Mon Sep 17 00:00:00 2001 From: Matus Valo Date: Tue, 5 Oct 2021 14:08:07 +0200 Subject: [PATCH] fix flake8 in kombu/asynchronous/aws/connection.py (#1397) * fix flake8 in kombu/asynchronous/aws/connection.py * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> --- kombu/asynchronous/aws/connection.py | 2 +- t/unit/test_pidbox.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/kombu/asynchronous/aws/connection.py b/kombu/asynchronous/aws/connection.py index c3e45c87..f3926388 100644 --- a/kombu/asynchronous/aws/connection.py +++ b/kombu/asynchronous/aws/connection.py @@ -178,7 +178,7 @@ class AsyncAWSQueryConnection(AsyncConnection): if not http_client_params: http_client_params = {} super().__init__(sqs_connection, http_client, - **http_client_params) + **http_client_params) def make_request(self, operation, params_, path, verb, callback=None): # noqa params = params_.copy() diff --git a/t/unit/test_pidbox.py b/t/unit/test_pidbox.py index 7c47eae2..d79a14fd 100644 --- a/t/unit/test_pidbox.py +++ b/t/unit/test_pidbox.py @@ -1,7 +1,7 @@ import socket import warnings -from unittest.mock import Mock, patch from concurrent.futures import ProcessPoolExecutor, ThreadPoolExecutor +from unittest.mock import Mock, patch import pytest