Skip to content

Can't disable reachability analysis #388

@saagarjha

Description

@saagarjha

I'm trying to set Pyright's enableReachabilityAnalysis setting, but it doesn't seem to work. I have this in my LSP-pyright.sublime-settings file:

// Settings in here override those in "LSP-pyright/LSP-pyright.sublime-settings"
{
	"settings": {
		"python.analysis.diagnosticSeverityOverrides": {
			"enableReachabilityAnalysis": false,
		},
	}
}

I would assume this is the right place for it? But even after setting this I'm still getting diagnostics for it:

Image

Did I put the setting in the right place? Or, perhaps there is a way to debug if these settings are being passed through? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions