mirror of
https://github.com/Hopiu/cookiecutter-django.git
synced 2026-05-27 13:03:59 +00:00
Set target-version for django upgrade to 4.2
This commit is contained in:
parent
c15eb6d97a
commit
ef36732569
2 changed files with 2 additions and 2 deletions
|
|
@ -231,7 +231,7 @@ def test_django_upgrade_passes(cookies, context_override):
|
|||
try:
|
||||
sh.django_upgrade(
|
||||
"--target-version",
|
||||
"4.1",
|
||||
"4.2",
|
||||
*python_files,
|
||||
_cwd=str(result.project_path),
|
||||
)
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ repos:
|
|||
rev: '1.13.0'
|
||||
hooks:
|
||||
- id: django-upgrade
|
||||
args: ['--target-version', '4.1']
|
||||
args: ['--target-version', '4.2']
|
||||
|
||||
- repo: https://github.com/asottile/pyupgrade
|
||||
rev: v3.6.0
|
||||
|
|
|
|||
Loading…
Reference in a new issue