Skip to content

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

RyanMcCleary
Copy link

This PR updates the .vscode/settings.json file to reflect the changes we have made to linting and typechecking.

@@ -233,9 +233,6 @@
"中文",
"日本語"
],
"flake8.args": [
"--max-line-length=130",
],
"git.ignoreLimitWarning": true,
"python.analysis.typeCheckingMode": "basic",
Copy link
Member

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?

Copy link
Author

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",
Copy link
Member

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

Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants