Skip to content

Instantly share code, notes, and snippets.

@natekupp
Last active July 16, 2022 02:32
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save natekupp/7a17a9df8d2064e5389cc84aa118a896 to your computer and use it in GitHub Desktop.
Save natekupp/7a17a9df8d2064e5389cc84aa118a896 to your computer and use it in GitHub Desktop.
my vscode settings.json file
{
"[dockerfile]": {
"editor.formatOnSave": false
},
"autoDocstring.quoteStyle": "'''",
"autoDocstring.docstringFormat": "google",
"breadcrumbs.enabled": false,
"editor.formatOnSave": true,
"editor.formatOnSaveTimeout": 2000,
"editor.formatOnPaste": false,
"editor.rulers": [
100
],
"editor.minimap.enabled": false,
"editor.renderWhitespace": "none",
"editor.suggestSelection": "first",
"editor.tabSize": 4,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
],
"files.autoSave": "off",
"files.exclude": {
"**/*.egg-info": true,
"**/*.pyc": true,
"**/.DS_Store": true,
"**/.cache": true,
"**/.files": true,
"**/.git": true,
"**/.hg": true,
"**/.idea": true,
"**/.ipynb_checkpoints": true,
"**/.mypy_cache": true,
"**/.offline-package-cache": true,
"**/.pytest_cache": true,
"**/.ropeproject": true,
"**/.runs": true,
"**/.svn": true,
"**/.temp": true,
"**/.tox": true,
"**/.vscode": true,
"**/CVS": true,
"**/__pycache__": true,
"**/access.log": true,
"**/build": true,
"**/error.log": true,
"**/node_modules": true,
"**/settings_comments.txt": true,
"**/spark-warehouse": true,
"**/tags": true,
"*/.coverage": true,
"*/coverage.xml": true,
"*/dist": true,
"*/htmlcov": true,
"pulumi/bin": true,
"scala_modules/*/target": true
},
"files.trimTrailingWhitespace": true,
"files.trimFinalNewlines": true,
"git.ignoreLimitWarning": true,
"python.analysis.disabled": [
"unresolved-import"
],
"python.analysis.memory.keepLibraryAst": true,
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--line-length",
"100",
"-S",
"--fast",
],
"python.jediEnabled": true,
"python.linting.enabled": true,
"python.linting.pylintEnabled": true,
"python.linting.lintOnSave": true,
"python.linting.pycodestyleEnabled": false,
"python.linting.pylintArgs": [
"--rcfile",
"/Users/nate/src/dagster/.pylintrc",
],
"python.pythonPath": "/Users/nate/.pyenv/versions/dagster37/bin/python",
"python.testing.pytestEnabled": true,
"python.venvPath": "/Users/nate/.pyenv/versions/",
"workbench.colorTheme": "One Dark Pro",
"window.zoomLevel": 0,
"workbench.iconTheme": "vscode-icons",
"workbench.startupEditor": "newUntitledFile",
"typescript.updateImportsOnFileMove.enabled": "always",
"workbench.tree.renderIndentGuides": "onHover",
"[typescript]": {
"editor.tabSize": 2
},
}
@catherinewu
Copy link

catherinewu commented Feb 25, 2020

Removed '-N' from "python.formatting.blackArgs", "workbench.colorTheme": "One Dark Pro", and "workbench.iconTheme": "vscode-icons",

{
    "autoDocstring.quoteStyle": "'''",
    "breadcrumbs.enabled": false,
    "editor.formatOnSave": true,
    "editor.formatOnSaveTimeout": 2000,
    "editor.formatOnPaste": false,
    "editor.rulers": [
        100
    ],
    "editor.minimap.enabled": false,
    "editor.renderWhitespace": "none",
    "editor.suggestSelection": "first",
    "editor.tabSize": 4,
    "files.autoSave": "off",
    "files.exclude": {
        "**/.git": true,
        "**/.svn": true,
        "**/.hg": true,
        "**/CVS": true,
        "**/.DS_Store": true,
        "**/__pycache__": true,
        "**/*.pyc": true,
        "**/.cache": true,
        "**/.runs": true,
        "**/tags": true,
        "**/.ropeproject": true,
        "**/node_modules": true,
        "**/.files": true,
        "**/access.log": true,
        "**/error.log": true,
        "**/*.egg-info": true,
        "**/settings_comments.txt": true,
        "**/.mypy_cache": true,
        "**/.pytest_cache": true,
        "**/.temp": true,
        "**/build": true,
        "**/spark-warehouse": true,
        "**/.ipynb_checkpoints": true,
        "*/dist": true,
        "*/htmlcov": true,
        "**/.tox": true,
        "*/coverage.xml": true,
        "*/.coverage": true
    },
    "files.trimTrailingWhitespace": true,
    "files.trimFinalNewlines": true,
    "git.ignoreLimitWarning": true,
    "gitlens.codeLens.enabled": false,
    "python.analysis.disabled": [
        "unresolved-import"
    ],
    "python.formatting.provider": "black",
    "python.formatting.blackArgs": [
        "--line-length",
        "100",
        "-S",
        "--fast",
    ],
    "python.jediEnabled": false,
    "python.linting.enabled": true,
    "python.linting.pylintEnabled": true,
    "python.linting.lintOnSave": true,
    "python.linting.pycodestyleEnabled": false,
    "python.linting.pylintArgs": [
        "--rcfile",
        "/Users/nate/src/dagster/.pylintrc"
    ],
    "python.pythonPath": "/Users/nate/.pyenv/versions/dagster-3.6.8/bin/python",
    "python.testing.pytestEnabled": true,
    "python.venvPath": "/Users/nate/.pyenv/versions/",
    "window.zoomLevel": 0,
    "workbench.startupEditor": "newUntitledFile",
    "python.dataScience.useDefaultConfigForJupyter": false,
    "python.dataScience.askForKernelRestart": false
}

@natekupp
Copy link
Author

cool thanks for flagging! I also just updated w/ my latest

@catherinewu
Copy link

catherinewu commented Feb 25, 2020

oh also need to sub-in

"python.formatting.blackArgs": [
        "--line-length",
        "78",
        "-S",
        "--fast",
    ],

when editing intro_tutorial

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment