Skip to content

Commit

Permalink
Improve VSC config
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed May 25, 2020
1 parent 7e5f510 commit 78cb9d8
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,28 +1,26 @@
{
// Python env
"python.envFile": "${workspaceFolder}/dev.env",
"python.pythonPath": "${workspaceFolder}/.venv/Scripts/python.exe",
// Lint and formatting
"editor.rulers": [88],
"editor.wordWrapColumn": 88,
"python.envFile": "${workspaceFolder}/dev.env",
"python.formatting.provider": "black",
"python.formatting.blackArgs": ["--target-version=py37"],
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": [
"--ignore=E24,E265,E501,W504",
"--config=setup.cfg",
"--verbose"
],
"python.pythonPath": "${workspaceFolder}/.venv/Scripts/python.exe",
// Test
"python.testing.pytestEnabled": true,
"python.testing.pytestArgs": [
"-c",
"setup.cfg"
],
"python.testing.unittestEnabled": false,
"python.testing.unittestArgs": [
"-v",
"-s",
"./tests",
"-p",
"test_*.py"
],
// Specific extensions
"restructuredtext.confPath": "${workspaceFolder}\\docs",
"autoDocstring.customTemplatePath": ".vscode\\docstring-config.mustache",
}
}

0 comments on commit 78cb9d8

Please sign in to comment.