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

refactor config options to be stored in a single schema that gets parsed/validated #64

Open
DetachHead opened this issue Jan 26, 2024 · 3 comments
Labels
config issues relating to config (pyproject.toml, pyrightconfig.json, LSP config or vscode extension)

Comments

@DetachHead
Copy link
Owner

currently the options are defined in many different places and each option gets validated manually

@DetachHead
Copy link
Owner Author

DetachHead commented Jan 27, 2024

it should handle generating the docs for the rules. because currently you have to manually update them to match the defaults as well: https://detachhead.github.io/basedpyright/#/configuration?id=diagnostic-rule-defaults


update: this table is now generated as of #759

@DetachHead
Copy link
Owner Author

also the code to parse the lsp config is completely separate to the code that parses thwe config files for some reason

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)
Projects
None yet
Development

No branches or pull requests

1 participant