Skip to content

Commit

Permalink
Added vscode settings to use black and flake8
Browse files Browse the repository at this point in the history
  • Loading branch information
zjwilliams20 committed Jul 19, 2022
1 parent 6c0cbda commit 989c35b
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .flake8
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[flake8]
max-line-length = 88
extend-ignore =
# See https://github.com/PyCQA/pycodestyle/issues/373
E203,
17 changes: 17 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"python.testing.unittestArgs": [
"-v",
"-s",
"tests",
"-p",
"test_*.py"
],
"python.testing.pytestEnabled": false,
"python.testing.unittestEnabled": true,
"editor.formatOnSave": true,
"python.linting.flake8Args": [
"--config",
"${workspaceFolder}/.flake8"
],
"python.linting.flake8Enabled": true
}

0 comments on commit 989c35b

Please sign in to comment.