plugins.lsp.servers.pylsp.settings.plugins.flake8.enabled

Enable or disable the plugin. Setting this explicitly to true will install the dependency for this plugin (flake8).

Type: null or boolean or raw lua code

Default: null

Plugin default: false

Declared by:

plugins.lsp.servers.pylsp.settings.plugins.flake8.config

Path to the config file that will be the authoritative config source.

Type: null or string

Default: null

Declared by:

plugins.lsp.servers.pylsp.settings.plugins.flake8.exclude

List of files or directories to exclude.

Type: null or (list of string)

Default: null

Plugin default: []

Declared by:

plugins.lsp.servers.pylsp.settings.plugins.flake8.executable

Path to the flake8 executable.

Type: null or string

Default: null

Declared by:

plugins.lsp.servers.pylsp.settings.plugins.flake8.filename

Only check for filenames matching the patterns in this list.

Type: null or string

Default: null

Declared by:

plugins.lsp.servers.pylsp.settings.plugins.flake8.hangClosing

Hang closing bracket instead of matching indentation of opening bracket’s line.

Type: null or boolean

Default: null

Declared by:

plugins.lsp.servers.pylsp.settings.plugins.flake8.ignore

List of errors and warnings to ignore (or skip).

Type: null or (list of string)

Default: null

Plugin default: []

Declared by:

plugins.lsp.servers.pylsp.settings.plugins.flake8.indentSize

Set indentation spaces.

Type: null or signed integer

Default: null

Declared by:

plugins.lsp.servers.pylsp.settings.plugins.flake8.maxComplexity

Maximum allowed complexity threshold.

Type: null or signed integer

Default: null

Declared by:

plugins.lsp.servers.pylsp.settings.plugins.flake8.maxLineLength

Maximum allowed line length for the entirety of this run.

Type: null or signed integer

Default: null

Declared by:

plugins.lsp.servers.pylsp.settings.plugins.flake8.perFileIgnores

A pairing of filenames and violation codes that defines which violations to ignore in a particular file.

For example: ["file_path.py:W305,W304"].

Type: null or (list of string)

Default: null

Plugin default: []

Declared by:

plugins.lsp.servers.pylsp.settings.plugins.flake8.select

List of errors and warnings to enable.

Type: null or (list of string)

Default: null

Declared by: