From 2d9ebc2c0161f61315c99e855aaa27eb8f2b97d1 Mon Sep 17 00:00:00 2001 From: Lee Goolsbee Date: Tue, 16 Apr 2024 10:38:35 -0500 Subject: [PATCH] Modified by ruff --- src/flask_session/dynamodb/dynamodb.py | 2 +- tests/test_memcached.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/flask_session/dynamodb/dynamodb.py b/src/flask_session/dynamodb/dynamodb.py index fbd7678c..ed733278 100644 --- a/src/flask_session/dynamodb/dynamodb.py +++ b/src/flask_session/dynamodb/dynamodb.py @@ -5,9 +5,9 @@ from typing import Optional import boto3 -from mypy_boto3_dynamodb.service_resource import DynamoDBServiceResource from flask import Flask from itsdangerous import want_bytes +from mypy_boto3_dynamodb.service_resource import DynamoDBServiceResource from ..base import ServerSideSession, ServerSideSessionInterface from ..defaults import Defaults diff --git a/tests/test_memcached.py b/tests/test_memcached.py index 84298fd9..be63f4f1 100644 --- a/tests/test_memcached.py +++ b/tests/test_memcached.py @@ -11,7 +11,7 @@ class TestMemcachedSession: @contextmanager def setup_memcached(self): - self.mc = memcache.Client(("127.0.0.1:11211")) + self.mc = memcache.Client("127.0.0.1:11211") try: self.mc.flush_all() yield