Skip to content

Commit

Permalink
🚨(backend) remove lint warning after update
Browse files Browse the repository at this point in the history
With the upgrade to the new major version of black some files needs to be
reformatted so we run `make lint-back` to fix all issues.
  • Loading branch information
jbpenrath committed Feb 3, 2025
1 parent e23b61c commit d93ab8a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
"""
RedisCache with a fallback cache to prevent denial of service if Redis is down
Freely inspired by django-cache-fallback
RedisCache with a fallback cache to prevent denial of service if Redis is down
Freely inspired by django-cache-fallback
Credits:
- https://github.com/Kub-AT/django-cache-fallback/
Credits:
- https://github.com/Kub-AT/django-cache-fallback/
"""

import logging
Expand Down
2 changes: 1 addition & 1 deletion tests/apps/core/test_pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ def test_page_includes_frontend_context(self):
"""
Create a page and make sure it includes the frontend context as included
in `base.html`. All characters for use in javascript string should be escaped
(i.e: '"' should be escaped with \u0022 and '\' with \u005C) to prevent an issue when
(i.e: '"' should be escaped with \u0022 and '\' with \u005c) to prevent an issue when
this variable contains unescaped characters for javascript (e.g: '\').
⚠️ If this test fails, before fixing it, identify if this change has had
Expand Down
3 changes: 1 addition & 2 deletions tests/apps/search/test_cms_toolbars.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
"""Test suite of the toolbar extension for search related it pages
"""
"""Test suite of the toolbar extension for search related it pages"""

from django.contrib.auth.models import AnonymousUser, Permission

Expand Down

0 comments on commit d93ab8a

Please sign in to comment.