Skip to content
Search

Vim:Plugin:python-mode

lastmod 2018-08-17created 2015-12-103 edits

A Vim plugin that supports Python.

Install it as follows.

NeoBundle 'klen/python-mode'

Disable folding

Automatic folding is enabled, so turn it off as follows.

let g:pymode_folding=0 

Disable ignore

To suppress pyflakes-related warnings, configure as follows.

let g:pymode_lint_ignore = 'E203,E221,E272,E301'

Alternatively, insert a # NOQA comment in the code as shown below.

def isDebug():
    if int(ARGUMENTS.get(DEBUG_PARAM_NAME, 0)): # NOQA
        return True
    else:
        return False

Favorite site