-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: pre-commit autoupdate updates: - [github.com/asottile/pyupgrade: v3.4.0 → v3.15.0](asottile/pyupgrade@v3.4.0...v3.15.0) - [github.com/adamchainz/django-upgrade: 1.13.0 → 1.15.0](adamchainz/django-upgrade@1.13.0...1.15.0) - https://github.com/charliermarsh/ruff-pre-commit → https://github.com/astral-sh/ruff-pre-commit - [github.com/astral-sh/ruff-pre-commit: v0.0.270 → v0.1.4](astral-sh/ruff-pre-commit@v0.0.270...v0.1.4) - [github.com/astral-sh/ruff-pre-commit: v0.1.2 → v0.1.4](astral-sh/ruff-pre-commit@v0.1.2...v0.1.4) - [github.com/pre-commit/pre-commit-hooks: v4.4.0 → v4.5.0](pre-commit/pre-commit-hooks@v4.4.0...v4.5.0) * ci: auto fixes from pre-commit hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
- Loading branch information
1 parent
916e126
commit 5ff1bac
Showing
8 changed files
with
76 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,26 @@ | ||
#!/usr/bin/env python | ||
HELPER_SETTINGS = { | ||
'INSTALLED_APPS': [ | ||
'tests.utils', | ||
"INSTALLED_APPS": [ | ||
"tests.utils", | ||
], | ||
'CMS_LANGUAGES': { | ||
1: [{ | ||
'code': 'en', | ||
'name': 'English', | ||
}] | ||
"CMS_LANGUAGES": { | ||
1: [ | ||
{ | ||
"code": "en", | ||
"name": "English", | ||
} | ||
] | ||
}, | ||
'LANGUAGE_CODE': 'en', | ||
'ALLOWED_HOSTS': ['localhost'], | ||
"LANGUAGE_CODE": "en", | ||
"ALLOWED_HOSTS": ["localhost"], | ||
} | ||
|
||
|
||
def run(): | ||
from app_helper import runner | ||
runner.cms('djangocms_snippet') | ||
|
||
runner.cms("djangocms_snippet") | ||
|
||
if __name__ == '__main__': | ||
|
||
if __name__ == "__main__": | ||
run() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
|
||
|
||
class SnippetModelTestCase(TestCase): | ||
|
||
def setUp(self): | ||
pass | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters