-
Notifications
You must be signed in to change notification settings - Fork 1
Update VSCode settings #4
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
base: main
Are you sure you want to change the base?
Conversation
@@ -233,9 +233,6 @@ | |||
"中文", | |||
"日本語" | |||
], | |||
"flake8.args": [ | |||
"--max-line-length=130", | |||
], | |||
"git.ignoreLimitWarning": true, | |||
"python.analysis.typeCheckingMode": "basic", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like the python.analysis settings duplicate pyright settings in pyproject.toml. can you confirm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that seems to be the case. I think the only duplicated settings are the exclude directories, though. Do you agree?
"python.analysis.useLibraryCodeForTypes": true, | ||
|
||
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we're encouraging a .venv it might be worth adding some notes in documentation somewhere such as the readme on setting up the .venv and pre-commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good idea - I'll open another PR with additions to the readme.
This PR updates the
.vscode/settings.json
file to reflect the changes we have made to linting and typechecking.