Skip to content

Commit 7ed2dd3

Browse files
authored
Update pyupgrade to --py37-plus (#7809)
1 parent 954460d commit 7ed2dd3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.pre-commit-config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ repos:
7575
rev: 'v3.15.0'
7676
hooks:
7777
- id: pyupgrade
78-
args: ['--py36-plus']
78+
args: ['--py37-plus']
7979
- repo: https://github.com/PyCQA/flake8
8080
rev: '6.1.0'
8181
hooks:

aiohttp/http_websocket.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ class WSHandshakeError(Exception):
135135

136136

137137
# Used by _websocket_mask_python
138-
@functools.lru_cache()
138+
@functools.lru_cache
139139
def _xor_table() -> List[bytes]:
140140
return [bytes(a ^ b for a in range(256)) for b in range(256)]
141141

0 commit comments

Comments
 (0)