def editor_opened(editor): attach_to_editor(editor) if editor.snaked_conf['PYLINT_CHECK_ON_SAVE']: editor.connect('file-saved', on_file_saved)
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)
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)
def editor_opened(editor): attach_to_editor(editor) if editor.snaked_conf["PYLINT_CHECK_ON_SAVE"]: editor.connect("file-saved", on_file_saved)