Skip to content

Instantly share code, notes, and snippets.

@comaniac
Created February 22, 2020 00:40
Show Gist options
  • Save comaniac/70fe674243093224cb158d075f5827aa to your computer and use it in GitHub Desktop.
Save comaniac/70fe674243093224cb158d075f5827aa to your computer and use it in GitHub Desktop.
Rename and put this file to <path-to-lorien>/.vscode/settings.json
{
"python.pythonPath": "/usr/bin/python3",
"python.linting.mypyEnabled": true,
"python.linting.pylintEnabled": true,
"python.linting.pylintCategorySeverity.convention": "Warning",
"python.linting.pylintCategorySeverity.refactor": "Warning",
"python.linting.pylintCategorySeverity.warning": "Warning",
"python.linting.pylintArgs": [
"--rcfile",
"${workspaceRoot}/tests/lint/pylintrc"
],
"python.formatting.provider": "yapf",
"python.formatting.yapfArgs": [
"--style",
"${workspaceRoot}/tests/lint/yapf_style.cfg"
],
"python.linting.enabled": true,
"python.testing.pytestArgs": [
"tests",
"--cov",
"${workspaceRoot}",
"--cov-report",
"xml:cov.xml",
"--ignore",
"*/python*/*",
// "--no-cov"
],
"python.testing.unittestEnabled": false,
"python.testing.nosetestsEnabled": false,
"python.testing.pytestEnabled": true,
"restructuredtext.confPath": "${workspaceFolder}/docs/source"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment