Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: hide notification #669

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v2.32.1
rev: v3.15.0
hooks:
- id: pyupgrade
args: ["--py37-plus"]

- repo: https://github.com/adamchainz/django-upgrade
rev: '1.6.1'
rev: '1.15.0'
hooks:
- id: django-upgrade
args: [--target-version, "2.2"]

- repo: https://github.com/PyCQA/flake8
rev: 4.0.1
rev: 7.0.0
hooks:
- id: flake8
additional_dependencies:
Expand All @@ -28,6 +28,6 @@ repos:
- pep8-naming

- repo: https://github.com/pycqa/isort
rev: 5.10.1
rev: 5.13.2
hooks:
- id: isort
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -500,9 +500,9 @@ Running Tests

You can run tests by executing::

virtualenv env
source env/bin/activate
pip install -r tests/requirements.txt
python -m venv .venv
source .venv/bin/activate
python -m pip install -r tests/requirements/base.txt
python setup.py test


Expand Down
1,383 changes: 1 addition & 1,382 deletions djangocms_text_ckeditor/static/djangocms_text_ckeditor/ckeditor/ckeditor.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

This file was deleted.

4 changes: 2 additions & 2 deletions djangocms_text_ckeditor/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


# this path is changed automatically whenever you run `gulp bundle`
PATH_TO_JS = 'djangocms_text_ckeditor/js/dist/bundle-9f0bbac8ec.cms.ckeditor.min.js'
PATH_TO_JS = 'djangocms_text_ckeditor/js/dist/bundle-5fcbc3b810.cms.ckeditor.min.js'


class TextEditorWidget(forms.Textarea):
Expand Down Expand Up @@ -94,7 +94,7 @@ def get_ckeditor_settings(self, language):

# Group plugins by module
if self.installed_plugins:
plugins = groupby(sorted(self.installed_plugins, key=lambda x: x.get("module")), key=lambda x: x.get("module"))
plugins = groupby(sorted(self.installed_plugins, key=lambda x: x.get('module')), key=lambda x: x.get('module'))
plugins = [{'group': group, 'items':
[{'title': item.get('name'), 'type': item.get('value')} for item in items]} for group, items in plugins]
else:
Expand Down