sublimelsp / LSP-ruff

LSP helper for ruff - an extremely fast Python linter, written in Rust.

Home Page:https://packagecontrol.io/packages/LSP-ruff

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ignore setting probably not work

danilovmy opened this issue · comments

"LSP":
 		{
 			"LSP-ruff":
 			{
				"args": [
						"--ignore=E501", "--ignore", "E501",
					],
				"ignore": ["E501"],
 				"initializationOptions":
 				{
 					"settings": {
 						"showNotification": "on",
 						"logLevel": "debug",
						"args": [
									"--ignore=E501", "--ignore", "E501",
								],
 						"ignore": ["E501"],
 					}
 				}
 			}
 		},

I tried all possibilities to switch off E501 but unsuccessfully

If you are trying to set those in a project file then it should be:

{
	"settings": {
		"LSP": {
			"LSP-ruff": {
				"initializationOptions": {
					"settings": {
						"args": [
							"--ignore=E501"
						]
					}
				}
			}
        }
    },
}