Skip to content

Commit

Permalink
Update pyupgrade to --py37-plus (#7809)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexrudd2 authored Nov 9, 2023
1 parent 954460d commit 7ed2dd3
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 @@ -75,7 +75,7 @@ repos:
rev: 'v3.15.0'
hooks:
- id: pyupgrade
args: ['--py36-plus']
args: ['--py37-plus']
- repo: https://github.com/PyCQA/flake8
rev: '6.1.0'
hooks:
Expand Down
2 changes: 1 addition & 1 deletion aiohttp/http_websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class WSHandshakeError(Exception):


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

Expand Down

0 comments on commit 7ed2dd3

Please sign in to comment.