Skip to content

Commit

Permalink
Add back 3.7 lru_cache syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
nateprewitt committed Dec 13, 2023
1 parent 7e85a53 commit eb0d5a5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repos:
hooks:
- id: pyupgrade
args:
- '--py38-plus'
- '--py37-plus'
- repo: 'https://github.com/PyCQA/isort'
rev: 5.12.0
hooks:
Expand Down
2 changes: 1 addition & 1 deletion s3transfer/subscribers.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def __new__(cls, *args, **kwargs):
return super().__new__(cls)

@classmethod
@lru_cache
@lru_cache()
def _validate_subscriber_methods(cls):
for subscriber_type in cls.VALID_SUBSCRIBER_TYPES:
subscriber_method = getattr(cls, 'on_' + subscriber_type)
Expand Down

0 comments on commit eb0d5a5

Please sign in to comment.