Skip to content

Commit

Permalink
pyupgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Mar 8, 2024
1 parent 14b08ef commit 0eae52e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 1 addition & 3 deletions flask_pymemcache.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# -*- coding: utf-8 -*-
"""
pymemcache_ integration for Flask
=================================
Expand Down Expand Up @@ -55,13 +54,12 @@
"""

from __future__ import absolute_import, division, print_function
import flask
import pymemcache.client
import pymemcache.client.hash


class FlaskPyMemcache(object):
class FlaskPyMemcache:
def __init__(self, app=None, conf_key=None):
"""
:type app: flask.Flask
Expand Down
2 changes: 0 additions & 2 deletions test_flask_pymemcache.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
# -*- coding: utf-8 -*-
from __future__ import absolute_import, division, print_function
from unittest import TestCase

import pymemcache.client
Expand Down

0 comments on commit 0eae52e

Please sign in to comment.