Skip to content

Commit ef9eb19

Browse files
committed
shared vscode linter settings
1 parent 528c7e2 commit ef9eb19

2 files changed

Lines changed: 16 additions & 2 deletions

File tree

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ __pycache__/
33
*.py[cod]
44
*$py.class
55
results/
6-
.vscode
6+
77
# C extensions
88
*.so
99
# Distribution / packaging
@@ -160,7 +160,6 @@ cython_debug/
160160
# MacOS
161161
**/.DS_Store
162162

163-
.vscode
164163

165164
_sandbox.py
166165

.vscode/settings.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"[python]": {
3+
"editor.formatOnSave": true,
4+
"editor.defaultFormatter": "ms-python.black-formatter",
5+
"editor.codeActionsOnSave": {
6+
"source.organizeImports": "explicit",
7+
"source.fixAll": "never"
8+
}
9+
},
10+
"python.testing.pytestArgs": [
11+
"tests"
12+
],
13+
"python.testing.unittestEnabled": false,
14+
"python.testing.pytestEnabled": true,
15+
}

0 commit comments

Comments
 (0)