Skip to content

Commit 2842ac0

Browse files
author
zhenwei-li
committed
the settings upgrade
1 parent 9fdf910 commit 2842ac0

1 file changed

Lines changed: 9 additions & 2 deletions

File tree

.vscode/settings.json

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,12 +65,19 @@
6565
],
6666
"python.pythonPath": "venv2/bin/python",
6767
"python.formatting.provider": "yapf",
68+
"python.formatting.yapfArgs": [
69+
"--style", "{based_on_style: pep8 ,indent_width: 4}",
70+
"--ignore=E251",
71+
],
6872
"python.languageServer": "Jedi",
6973
// "python.languageServer": "Microsoft",
7074
// "python.languageServer": "Pylance",
71-
"python.linting.pylintEnabled": false,
75+
"python.linting.enabled": true,
7276
"python.linting.flake8Enabled": true,
73-
"python.linting.flake8Args": ["--max-line-length=250"],
77+
"python.linting.flake8Args": ["--max-line-length=250", "--verbose"],
78+
"python.linting.ignorePatterns": [".vscode/*.py", "**/site-packages/**/*.py"],
79+
"python.linting.lintOnSave": true,
80+
"python.linting.pylintEnabled": false,
7481
"python.testing.unittestArgs": [
7582
"-v",
7683
"-s",

0 commit comments

Comments
 (0)