From 63219c6ac3aa7d5d2724ec1c80ac304a922e6c0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=82=85=E7=91=9E=E6=9B=BC?= Date: Wed, 13 Mar 2024 05:42:10 +0000 Subject: [PATCH] comment the django-upgrade from ci --- .pre-commit-config.yaml | 11 ++++++----- djangocms_snippet/__init__.py | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index f549df04..59ff7c12 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -6,11 +6,12 @@ repos: # - id: pyupgrade # args: ["--py38-plus"] # - - repo: https://github.com/adamchainz/django-upgrade - rev: '1.16.0' - hooks: - - id: django-upgrade - args: [--target-version, "4.2"] + # manually run the upgrade command to fix the issue, no need for ci to run. + # - repo: https://github.com/adamchainz/django-upgrade + # rev: '1.16.0' + # hooks: + # - id: django-upgrade + # args: [--target-version, "4.2"] - repo: https://github.com/PyCQA/flake8 rev: 7.0.0 diff --git a/djangocms_snippet/__init__.py b/djangocms_snippet/__init__.py index 8f2dcac6..d548be3e 100644 --- a/djangocms_snippet/__init__.py +++ b/djangocms_snippet/__init__.py @@ -1,2 +1,3 @@ __version__ = '4.0.1.dev2' +default_app_config = 'djangocms_snippet.apps.SnippetConfig'