Skip to content

Commit

Permalink
Merge pull request #56 from CybercentreCanada/update/vscode-settings
Browse files Browse the repository at this point in the history
Updating VSCode settings
  • Loading branch information
cccs-kevin authored Nov 3, 2023
2 parents dfd0129 + dae7cf9 commit eae5f0c
Show file tree
Hide file tree
Showing 3 changed files with 200 additions and 162 deletions.
2 changes: 2 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Migrate code style to Black
a9f58142052ae5258bc9ae859a7567187699469d
16 changes: 5 additions & 11 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,21 +18,15 @@
"--profile=black",
// "--src=${workspaceFolder}"
],
"python.formatting.autopep8Args": [
"--max-line-length",
"120",
"--experimental"
],
"python.formatting.provider": "autopep8",
"python.formatting.blackArgs": [
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter"
},
"black-formatter.args": [
"--line-length=120"
],
"python.linting.enabled": true,
"python.linting.flake8Enabled": true,
"python.linting.flake8Args": [
"flake8.args": [
"--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,
}
Loading

0 comments on commit eae5f0c

Please sign in to comment.