| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -9,6 +9,7 @@ This server can be configured using the `workspace/didChangeConfiguration` metho | |||
| 9 | 9 | | `pylsp.plugins.flake8.enabled` | `boolean` | Enable or disable the plugin. | `false` | | |
| 10 | 10 | | `pylsp.plugins.flake8.exclude` | `array` of `string` items | List of files or directories to exclude. | `[]` | | |
| 11 | 11 | | `pylsp.plugins.flake8.extendIgnore` | `array` of `string` items | List of errors and warnings to append to ignore list. | `[]` | | |
| 12 | + | `pylsp.plugins.flake8.extendSelect` | `array` of `string` items | List of errors and warnings to append to select list. | `[]` | | ||
| 12 | 13 | | `pylsp.plugins.flake8.executable` | `string` | Path to the flake8 executable. | `"flake8"` | | |
| 13 | 14 | | `pylsp.plugins.flake8.filename` | `string` | Only check for filenames matching the patterns in this list. | `null` | | |
| 14 | 15 | | `pylsp.plugins.flake8.hangClosing` | `boolean` | Hang closing bracket instead of matching indentation of opening bracket's line. | `null` | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -27,6 +27,7 @@ | |||
| 27 | 27 | # flake8 | |
| 28 | 28 | ("exclude", "plugins.flake8.exclude", list), | |
| 29 | 29 | ("extend-ignore", "plugins.flake8.extendIgnore", list), | |
| 30 | + ("extend-select", "plugins.flake8.extendSelect", list), | ||
| 30 | 31 | ("filename", "plugins.flake8.filename", list), | |
| 31 | 32 | ("hang-closing", "plugins.flake8.hangClosing", bool), | |
| 32 | 33 | ("ignore", "plugins.flake8.ignore", list), | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -53,6 +53,14 @@ | |||
| 53 | 53 | }, | |
| 54 | 54 | "description": "List of errors and warnings to append to ignore list." | |
| 55 | 55 | }, | |
| 56 | + "pylsp.plugins.flake8.extendSelect": { | ||
| 57 | + "type": "array", | ||
| 58 | + "default": [], | ||
| 59 | + "items": { | ||
| 60 | + "type": "string" | ||
| 61 | + }, | ||
| 62 | + "description": "List of errors and warnings to append to select list." | ||
| 63 | + }, | ||
| 56 | 64 | "pylsp.plugins.flake8.executable": { | |
| 57 | 65 | "type": "string", | |
| 58 | 66 | "default": "flake8", | |
@@ -500,4 +508,4 @@ | |||
| 500 | 508 | "description": "The name of the folder in which rope stores project configurations and data. Pass `null` for not using such a folder at all." | |
| 501 | 509 | } | |
| 502 | 510 | } | |
| 503 | - } | ||
| 511 | + } | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -72,6 +72,7 @@ def pylsp_lint(workspace, document): | |||
| 72 | 72 | "config": settings.get("config"), | |
| 73 | 73 | "exclude": settings.get("exclude"), | |
| 74 | 74 | "extend-ignore": settings.get("extendIgnore"), | |
| 75 | + "extend-select": settings.get("extendSelect"), | ||
| 75 | 76 | "filename": settings.get("filename"), | |
| 76 | 77 | "hang-closing": settings.get("hangClosing"), | |
| 77 | 78 | "ignore": ignores or None, | |
| Back | FazBrowse Home | New Git URL |
0 commit comments