|
57 | 57 | "python.autoComplete.extraPaths": [ |
58 | 58 | "./src", |
59 | 59 | "./mock", |
60 | | - "./tests", |
| 60 | + "./test", |
61 | 61 | "./venv2/bin", |
62 | 62 | "./venv2/Lib/python2.7/site-packages", |
63 | 63 | // "./venv/bin", |
64 | 64 | // "./venv/Lib/python3.7/site-packages", |
65 | 65 | ], |
66 | | - "python.envFile": "${workspaceFolder}/.env", |
67 | 66 | "python.pythonPath": "venv2/bin/python", |
68 | 67 | "python.formatting.provider": "yapf", |
69 | | - "python.formatting.yapfArgs": [ |
70 | | - "--style", "{based_on_style: pep8 ,indent_width: 4, column_limit: 130}", |
71 | | - ], |
72 | | - // "python.languageServer": "Jedi", |
73 | | - "python.languageServer": "Pylance", |
74 | | - // "python.languageServer": "Microsoft", |
75 | | - "python.linting.enabled": true, |
76 | | - "python.linting.flake8Enabled": true, |
77 | | - "python.linting.flake8Args": [ |
78 | | - "--max-line-length=250", |
79 | | - "--ignore=E251", |
80 | | - "--verbose", |
81 | | - ], |
82 | | - "python.linting.ignorePatterns": [".vscode/*.py", "**/site-packages/**/*.py"], |
83 | | - "python.linting.lintOnSave": true, |
| 68 | + "python.languageServer": "Microsoft", |
| 69 | + // "python.languageServer": "Pylance", |
84 | 70 | "python.linting.pylintEnabled": false, |
| 71 | + "python.linting.flake8Enabled": true, |
| 72 | + "python.linting.flake8Args": ["--max-line-length=250"], |
85 | 73 | "python.testing.unittestArgs": [ |
86 | 74 | "-v", |
87 | 75 | "-s", |
88 | | - "./tests", |
| 76 | + "./test", |
89 | 77 | "-p", |
90 | 78 | "test_*.py" |
91 | 79 | ], |
92 | 80 | "python.testing.autoTestDiscoverOnSaveEnabled": true, |
93 | 81 | "python.testing.cwd": "${workspaceFolder}", |
94 | 82 | "python.testing.nosetestsEnabled": false, |
95 | 83 | "python.testing.pytestEnabled": false, |
96 | | - "python.testing.promptToConfigure": true, |
97 | 84 | "python.testing.unittestEnabled": true, |
98 | 85 | "workbench.iconTheme": "vscode-icons", |
99 | 86 | "workbench.editor.enablePreview": true, |
|
0 commit comments