Skip to content

Commit

Permalink
Merge pull request #664 from CybercentreCanada/vscode_settings
Browse files Browse the repository at this point in the history
Update depricated .vscode settings
  • Loading branch information
cccs-jh authored Sep 28, 2023
2 parents 7431b12 + 574c5f7 commit ea653ce
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,32 @@
{
"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]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"black-formatter.args": [
"--line-length=120"
],
"flake8.args": [
"--max-line-length=120",
//Added the ignore of E203 for now : https://github.com/PyCQA/pycodestyle/issues/373
"--ignore=E203,W503"
],
}

0 comments on commit ea653ce

Please sign in to comment.