You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
346 B
19 lines
346 B
snippet #py "Set the python environment." |
|
#!/usr/bin/env python |
|
#-*- encoding: utf-8 |
|
|
|
"""${1:Module documentation}""" |
|
$0 |
|
endsnippet |
|
|
|
snippet class "Starting a Python class" |
|
class ${1:ClassName}(${2:extends}): |
|
|
|
"""${3:Class documentation}""" |
|
|
|
$0 |
|
endsnippet |
|
|
|
snippet lint "Start a lint-disable comment" |
|
# pylint:disable=${0:lint code} |
|
endsnippet
|
|
|