forked from project-chip/certification-tool-backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.json
44 lines (44 loc) · 1.18 KB
/
settings.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
"editor.formatOnSave": true,
"editor.rulers": [
88
],
"files.exclude": {
"**/__pycache__": true,
".mypy_cache": true,
".pytest_cache": true
},
"[python]": {
"editor.defaultFormatter": "ms-python.black-formatter", // black
"editor.formatOnSave": true, // black
"editor.codeActionsOnSave": {
"source.organizeImports": true // isort
},
},
// black
"black-formatter.importStrategy": "fromEnvironment",
// isort
"isort.args": [
"--profile",
"black"
],
// mypy
"mypy.configFile": "mypy.ini",
"mypy.targets": [
"app",
"test_collections"
],
"python.analysis.typeCheckingMode": "off", // Let MyPy Handle Type Checking
// pytest
"python.testing.autoTestDiscoverOnSaveEnabled": true,
"python.testing.pytestEnabled": true,
"python.testing.pytestPath": "/usr/local/bin/pytest",
"python.testing.pytestArgs": [
"app/tests",
"test_collections/matter/sdk_tests/support/tests",
"--no-cov"
],
"python.linting.ignorePatterns": [
"test_collections/matter/sdk_tests/sdk_checkout/**/*.py"
]
}