-
Notifications
You must be signed in to change notification settings - Fork 1
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
Add VS code settings.json file #42
Changes from 3 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,22 @@ | ||
{ | ||
"python.testing.pytestArgs": [ | ||
"." | ||
"python.linting.pylintEnabled": true, | ||
"python.linting.flake8Enabled": true, | ||
"python.linting.mypyEnabled": true, | ||
"python.linting.enabled": true, | ||
"python.formatting.provider": "black", | ||
"editor.formatOnSave": true, | ||
"editor.rulers": [ | ||
88 | ||
], | ||
"python.testing.unittestEnabled": false, | ||
jaideep777 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
"python.testing.pytestEnabled": true | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This should be here, otherwise VSCode testing does not know what to use for tests. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It still is set to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. omg |
||
"python.testing.pytestEnabled": true, | ||
"python.testing.pytestArgs": [ | ||
"-s", | ||
"tests", | ||
// --no-cov needed so that breakpoints work: https://github.com/microsoft/vscode-python/issues/693 | ||
"--no-cov" | ||
], | ||
"workbench.editorAssociations": { | ||
"*.ipynb": "jupyter-notebook" | ||
}, | ||
} |
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 looks like
pylint
isn't in thepoetry
dev dependencies btw. Do we want to enable it or not?I suggest we either don't use this linter or add it to the dependencies.
@dalonsoa @davidorme
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 want to use it - and it seems we want, right @davidorme - it should be in the dependency list, yes.