mirror of
https://github.com/django-components/django-components.git
synced 2025-09-11 08:26:17 +00:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
a919b648b3
commit
6a633c67a8
2 changed files with 19 additions and 8 deletions
|
@ -11,7 +11,9 @@ CSS_DEPENDENCY_PLACEHOLDER = '<link name="CSS_PLACEHOLDER">'
|
|||
JS_DEPENDENCY_PLACEHOLDER = '<script name="JS_PLACEHOLDER"></script>'
|
||||
|
||||
SCRIPT_TAG_REGEX = re.compile("<script")
|
||||
COMPONENT_COMMENT_REGEX = re.compile(rb"<!-- _RENDERED (?P<name>[\w\-/]+?) -->")
|
||||
COMPONENT_COMMENT_REGEX = re.compile(
|
||||
rb"<!-- _RENDERED (?P<name>[\w\-/]+?) -->"
|
||||
)
|
||||
PLACEHOLDER_REGEX = re.compile(
|
||||
rb"<!-- _RENDERED (?P<name>[\w\-/]+?) -->"
|
||||
rb'|<link name="CSS_PLACEHOLDER">'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue