Skip to content

Commit

Permalink
Updating code styles in vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
cccs-kevin committed May 29, 2023
1 parent b80ca11 commit b1dfbdb
Showing 1 changed file with 26 additions and 10 deletions.
36 changes: 26 additions & 10 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,38 @@
{
"python.linting.flake8Args": [
"--max-line-length=120",
//Added the ignore of E203 for now : https://github.com/PyCQA/pycodestyle/issues/373
"--ignore=E203,W503"
],
"editor.codeActionsOnSave": {
"source.organizeImports": true,
},
"editor.formatOnSave": true,
"editor.rulers": [
120
],
"editor.tabSize": 4,
"editor.wordWrap": "wordWrapColumn",
"editor.wordWrapColumn": 120,
"python.formatting.provider": "black",
"python.formatting.blackArgs": [
"--line-length=120"
],
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"files.trimTrailingWhitespace": true,
"isort.args": [
"-l",
"120",
"--profile=black",
// "--src=${workspaceFolder}"
]
],
"python.formatting.autopep8Args": [
"--max-line-length",
"120",
"--experimental"
],
"python.formatting.provider": "autopep8",
"python.formatting.blackArgs": [
"--line-length=120"
],
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": [
"--max-line-length=120",
//Added the ignore of E203 for now : https://github.com/PyCQA/pycodestyle/issues/373
"--ignore=E203,W503"
],
"python.linting.pylintEnabled": false,
}

0 comments on commit b1dfbdb

Please sign in to comment.