예제 #1
0
파일: __init__.py 프로젝트: hellp/snaked
def editor_opened(editor):
    attach_to_editor(editor)

    if editor.snaked_conf['PYLINT_CHECK_ON_SAVE']:
        editor.connect('file-saved', on_file_saved)
예제 #2
0
파일: __init__.py 프로젝트: hellp/snaked
def editor_opened(editor):
    editor.connect('file-saved', on_file_saved)
    attach_to_editor(editor)
    if editor.uri and os.path.exists(editor.uri):
        add_job(editor)
예제 #3
0
파일: __init__.py 프로젝트: bigdrum/snaked
def editor_opened(editor):
    editor.connect("file-saved", on_file_saved)
    attach_to_editor(editor)
    if editor.snaked_conf["PYFLAKES_RUN_ON_FILE_LOAD"] and editor.uri and os.path.exists(editor.uri):
        add_job(editor)
예제 #4
0
def editor_opened(editor):
    attach_to_editor(editor)

    if editor.snaked_conf["PYLINT_CHECK_ON_SAVE"]:
        editor.connect("file-saved", on_file_saved)