20 lines
307 B
Plaintext
20 lines
307 B
Plaintext
|
snippet todo "A python todo mark" b
|
||
|
# TODO: ${1:desc} |`date`
|
||
|
endsnippet
|
||
|
|
||
|
snippet tvar "testing a variable" b
|
||
|
print("${1:Varname} -> ", $1)
|
||
|
endsnippet
|
||
|
|
||
|
|
||
|
# Unittest
|
||
|
|
||
|
snippet deftest "test function without docstrings" b
|
||
|
def test_${1:function}(`!p
|
||
|
if snip.indent:
|
||
|
snip.rv = 'self' `):
|
||
|
${0:pass}
|
||
|
endsnippet
|
||
|
|
||
|
|