update inbox list
This commit is contained in:
43
vendor/scrivo/highlight.php/test/markup/python/escaped-quotes.expect.txt
vendored
Normal file
43
vendor/scrivo/highlight.php/test/markup/python/escaped-quotes.expect.txt
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
<span class="hljs-string">'''text \''' text'''</span>
|
||||
<span class="hljs-string">u'''text \''' text'''</span>
|
||||
<span class="hljs-string">b'''text \''' text'''</span>
|
||||
<span class="hljs-string">r'''text \''' text'''</span>
|
||||
<span class="hljs-string">ur'''text \''' text'''</span>
|
||||
<span class="hljs-string">br'''text \''' text'''</span>
|
||||
|
||||
<span class="hljs-string">"""text \""" text"""</span>
|
||||
<span class="hljs-string">u"""text \""" text"""</span>
|
||||
<span class="hljs-string">b"""text \""" text"""</span>
|
||||
<span class="hljs-string">r"""text \""" text"""</span>
|
||||
<span class="hljs-string">ur"""text \""" text"""</span>
|
||||
<span class="hljs-string">br"""text \""" text"""</span>
|
||||
|
||||
<span class="hljs-string">f'''text \''' text'''</span>
|
||||
<span class="hljs-string">fr'''text \''' text'''</span>
|
||||
<span class="hljs-string">rf'''text \''' text'''</span>
|
||||
|
||||
<span class="hljs-string">f"""text \""" text"""</span>
|
||||
<span class="hljs-string">fr"""text \""" text"""</span>
|
||||
<span class="hljs-string">rf"""text \""" text"""</span>
|
||||
|
||||
<span class="hljs-string">u'text \' text'</span>
|
||||
<span class="hljs-string">r'text \' text'</span>
|
||||
<span class="hljs-string">ur'text \' text'</span>
|
||||
|
||||
<span class="hljs-string">u"text \" text"</span>
|
||||
<span class="hljs-string">r"text \" text"</span>
|
||||
<span class="hljs-string">ur"text \" text"</span>
|
||||
|
||||
<span class="hljs-string">b'text \' text'</span>
|
||||
<span class="hljs-string">br'text \' text'</span>
|
||||
|
||||
<span class="hljs-string">b"text \" text"</span>
|
||||
<span class="hljs-string">br"text \" text"</span>
|
||||
|
||||
<span class="hljs-string">f'text \' text'</span>
|
||||
<span class="hljs-string">fr'text \' text'</span>
|
||||
<span class="hljs-string">rf'text \' text'</span>
|
||||
|
||||
<span class="hljs-string">f"text \" text"</span>
|
||||
<span class="hljs-string">fr"text \" text"</span>
|
||||
<span class="hljs-string">rf"text \" text"</span>
|
||||
43
vendor/scrivo/highlight.php/test/markup/python/escaped-quotes.txt
vendored
Normal file
43
vendor/scrivo/highlight.php/test/markup/python/escaped-quotes.txt
vendored
Normal file
@@ -0,0 +1,43 @@
|
||||
'''text \''' text'''
|
||||
u'''text \''' text'''
|
||||
b'''text \''' text'''
|
||||
r'''text \''' text'''
|
||||
ur'''text \''' text'''
|
||||
br'''text \''' text'''
|
||||
|
||||
"""text \""" text"""
|
||||
u"""text \""" text"""
|
||||
b"""text \""" text"""
|
||||
r"""text \""" text"""
|
||||
ur"""text \""" text"""
|
||||
br"""text \""" text"""
|
||||
|
||||
f'''text \''' text'''
|
||||
fr'''text \''' text'''
|
||||
rf'''text \''' text'''
|
||||
|
||||
f"""text \""" text"""
|
||||
fr"""text \""" text"""
|
||||
rf"""text \""" text"""
|
||||
|
||||
u'text \' text'
|
||||
r'text \' text'
|
||||
ur'text \' text'
|
||||
|
||||
u"text \" text"
|
||||
r"text \" text"
|
||||
ur"text \" text"
|
||||
|
||||
b'text \' text'
|
||||
br'text \' text'
|
||||
|
||||
b"text \" text"
|
||||
br"text \" text"
|
||||
|
||||
f'text \' text'
|
||||
fr'text \' text'
|
||||
rf'text \' text'
|
||||
|
||||
f"text \" text"
|
||||
fr"text \" text"
|
||||
rf"text \" text"
|
||||
13
vendor/scrivo/highlight.php/test/markup/python/f-strings.expect.txt
vendored
Normal file
13
vendor/scrivo/highlight.php/test/markup/python/f-strings.expect.txt
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<span class="hljs-string">f'<span class="hljs-subst">{name}</span>'</span>
|
||||
<span class="hljs-string">f"<span class="hljs-subst">{name + <span class="hljs-number">5</span>}</span>"</span>
|
||||
<span class="hljs-meta">>>> </span><span class="hljs-string">f"""
|
||||
<span class="hljs-meta">... </span><span class="hljs-subst">{
|
||||
<span class="hljs-meta">... </span> name
|
||||
<span class="hljs-meta">... </span>}</span>
|
||||
<span class="hljs-meta">... </span>"""</span>
|
||||
<span class="hljs-string">rf"<span class="hljs-subst">{name}</span>"</span>
|
||||
<span class="hljs-string">fr"<span class="hljs-subst">{name}</span>"</span>
|
||||
<span class="hljs-string">f"<span class="hljs-subst">{name + <span class="hljs-string">f'<span class="hljs-subst">{name}</span>'</span>}</span>"</span>
|
||||
<span class="hljs-string">f"{{ }}"</span>
|
||||
<span class="hljs-keyword">if</span><span class="hljs-string">"text"</span>==<span class="hljs-string">"text"</span>:
|
||||
<span class="hljs-string">"good"</span>
|
||||
13
vendor/scrivo/highlight.php/test/markup/python/f-strings.txt
vendored
Normal file
13
vendor/scrivo/highlight.php/test/markup/python/f-strings.txt
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
f'{name}'
|
||||
f"{name + 5}"
|
||||
>>> f"""
|
||||
... {
|
||||
... name
|
||||
... }
|
||||
... """
|
||||
rf"{name}"
|
||||
fr"{name}"
|
||||
f"{name + f'{name}'}"
|
||||
f"{{ }}"
|
||||
if"text"=="text":
|
||||
"good"
|
||||
10
vendor/scrivo/highlight.php/test/markup/python/function-header-comments.expect.txt
vendored
Normal file
10
vendor/scrivo/highlight.php/test/markup/python/function-header-comments.expect.txt
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">foo</span><span class="hljs-params">(
|
||||
bar, <span class="hljs-comment"># commment</span>
|
||||
)</span>:</span>
|
||||
<span class="hljs-keyword">pass</span>
|
||||
|
||||
|
||||
<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">Foo</span><span class="hljs-params">(collections.namedtuple<span class="hljs-params">(<span class="hljs-string">'Test'</span>)</span>, <span class="hljs-params">(
|
||||
<span class="hljs-string">'name'</span>, <span class="hljs-comment"># comment</span>
|
||||
)</span>)</span>:</span>
|
||||
<span class="hljs-keyword">pass</span>
|
||||
10
vendor/scrivo/highlight.php/test/markup/python/function-header-comments.txt
vendored
Normal file
10
vendor/scrivo/highlight.php/test/markup/python/function-header-comments.txt
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
def foo(
|
||||
bar, # commment
|
||||
):
|
||||
pass
|
||||
|
||||
|
||||
class Foo(collections.namedtuple('Test'), (
|
||||
'name', # comment
|
||||
)):
|
||||
pass
|
||||
2
vendor/scrivo/highlight.php/test/markup/python/function-header.expect.txt
vendored
Normal file
2
vendor/scrivo/highlight.php/test/markup/python/function-header.expect.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f</span><span class="hljs-params">(x: int)</span> -> <span class="hljs-keyword">None</span>:</span>
|
||||
<span class="hljs-keyword">pass</span>
|
||||
2
vendor/scrivo/highlight.php/test/markup/python/function-header.txt
vendored
Normal file
2
vendor/scrivo/highlight.php/test/markup/python/function-header.txt
vendored
Normal file
@@ -0,0 +1,2 @@
|
||||
def f(x: int) -> None:
|
||||
pass
|
||||
7
vendor/scrivo/highlight.php/test/markup/python/matrix-multiplication.expect.txt
vendored
Normal file
7
vendor/scrivo/highlight.php/test/markup/python/matrix-multiplication.expect.txt
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
<span class="hljs-meta">@meta</span>
|
||||
<span class="hljs-class"><span class="hljs-keyword">class</span> <span class="hljs-title">C</span>:</span>
|
||||
|
||||
<span class="hljs-meta"> @decorator</span>
|
||||
<span class="hljs-function"><span class="hljs-keyword">def</span> <span class="hljs-title">f</span><span class="hljs-params">(self, H, V, beta, r)</span>:</span>
|
||||
S = (H @ beta - r).T @ inv(H @ V @ H.T) @ (H @ beta - r)
|
||||
<span class="hljs-keyword">return</span> S
|
||||
7
vendor/scrivo/highlight.php/test/markup/python/matrix-multiplication.txt
vendored
Normal file
7
vendor/scrivo/highlight.php/test/markup/python/matrix-multiplication.txt
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
@meta
|
||||
class C:
|
||||
|
||||
@decorator
|
||||
def f(self, H, V, beta, r):
|
||||
S = (H @ beta - r).T @ inv(H @ V @ H.T) @ (H @ beta - r)
|
||||
return S
|
||||
Reference in New Issue
Block a user