wip/75446-Mise-a-jour-django-upgrade-pour- #75446 #54

Merged
vdeniaud merged 7 commits from wip/75446-Mise-a-jour-django-upgrade-pour- into main 2023-03-29 16:10:59 +02:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit 6392be5eed - Show all commits

View File

@ -12,10 +12,10 @@ repos:
- id: isort
args: ['--profile', 'black', '--line-length', '110']
- repo: https://github.com/asottile/pyupgrade
rev: v3.1.0
rev: v3.3.1
hooks:
- id: pyupgrade
args: ['--keep-percent-format', '--py37-plus']
args: ['--keep-percent-format', '--py39-plus']
- repo: https://github.com/adamchainz/django-upgrade
rev: 1.13.0
hooks:

View File

@ -24,7 +24,7 @@ from django.conf import settings
utc = zoneinfo.ZoneInfo('UTC')
@functools.lru_cache()
@functools.lru_cache
def get_default_timezone():
"""
Return the default time zone as a tzinfo instance.