Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

basedpyright.analysis.diagnosticSeverityOverrides does not work in vscode's settings.json #418

Closed
DetachHead opened this issue Jun 15, 2024 · 7 comments
Labels
config issues relating to config (pyproject.toml, pyrightconfig.json, LSP config or vscode extension) vscode the extension for vscode/vscodium

Comments

@DetachHead
Copy link
Owner

upstream issue in pyright. works fine in pylance

{
  "basedpyright.analysis.diagnosticSeverityOverrides": {
    "reportAttributeAccessIssue":false,
    "reportUnusedVariable": false,
    "reportDeprecated": false
  },
}
foo = 1
foo.asdfasdf # error: reportAttributeAccessIssue
@DetachHead DetachHead added the vscode the extension for vscode/vscodium label Jun 15, 2024
@DetachHead
Copy link
Owner Author

ffs wrong repo

@DetachHead DetachHead transferred this issue from DetachHead/pytest-robotframework Jun 15, 2024
@DetachHead DetachHead added the config issues relating to config (pyproject.toml, pyrightconfig.json, LSP config or vscode extension) label Jun 15, 2024
@willofferfit
Copy link

If it's an upstream issue, was an issue already opened in https://github.com/microsoft/pyright/ to report this?

@DetachHead
Copy link
Owner Author

feel free to raise it yourself if you want. i stopped raising issues upstream after receiving this response

@willofferfit
Copy link

Wow I'd have stopped too. Do you have more details about the bug that I could include in the bug report?

@andryandrew
Copy link

This seems relevant: #387

@DetachHead
Copy link
Owner Author

upstream the setting is called python.analysis.diagnosticSeverityOverrides and it only happens on the pyright vscode extension, but not pylance. i think it may be a regression from a recent release but i don't know for sure.

@DetachHead
Copy link
Owner Author

Duplicate of #387

@DetachHead DetachHead marked this as a duplicate of #387 Jun 26, 2024
@DetachHead DetachHead closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
config issues relating to config (pyproject.toml, pyrightconfig.json, LSP config or vscode extension) vscode the extension for vscode/vscodium
Projects
None yet
Development

No branches or pull requests

3 participants