vscode python setting

{
    "python.pythonPath": "/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python",
    "python.formatting.provider": "autopep8",
    "python.linting.flake8Enabled": true,
    "python.autoComplete.extraPaths": [
        "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages",
        "/Library/Python/2.7/site-packages"
    ],
    "editor.formatOnSave": true,
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/*.pyc": true,
        "**/.DS_Store": true
    },
    "python.linting.flake8Args": [
        "--disable=E501"
    ],
    "code-runner.runInTerminal": true,
    "python.autoComplete.addBrackets": true
}

你可能感兴趣的:(vscode python setting)