1+ {
2+ "python.analysis.extraPaths" : [
3+ " src/" ,
4+ " src/_example/flask_sqlalchemy_package/" ,
5+ " src/_example/flask_sqlalchemy_scratch/" ,
6+ " src/_example/django/django_demo" ,
7+ " src/_example/fastapi/" ,
8+ // enable the following when working on test project
9+ // "src/datasource_django/tests/test_project_datasource",
10+ // "src/django_agent/tests/test_project_agent",
11+ ],
12+ "python.autoComplete.extraPaths" : [
13+ " src/" ,
14+ " src/_example/flask_sqlalchemy_package/" ,
15+ " src/_example/flask_sqlalchemy_scratch/" ,
16+ " src/_example/fastapi/" ,
17+ " src/_example/django/django_demo" ,
18+ // enable the following when working on test project
19+ // "src/datasource_django/tests/test_project_datasource",
20+ // "src/django_agent/tests/test_project_agent",
21+ ],
22+ "python.testing.pytestArgs" : [
23+ " --rootdir=./src/" ,
24+ " src/agent_toolkit" ,
25+ " src/datasource_toolkit" ,
26+ " src/datasource_sqlalchemy" ,
27+ " src/flask_agent" ,
28+ " src/fastapi_agent" ,
29+ // because of test projects, the following cannot be enable at the same time
30+ // "src/datasource_django",
31+ // "src/django_agent",
32+ ],
33+ "black-formatter.args" : [
34+ " --line-length=120"
35+ ],
36+ "flake8.args" : [
37+ " --max-line-length=120"
38+ ],
39+ "isort.args" : [
40+ " --settings-file" ,
41+ " .isort.cfg"
42+ ],
43+ "python.analysis.typeCheckingMode" : " standard" ,
44+ "python.testing.pytestEnabled" : true ,
45+ "python.testing.autoTestDiscoverOnSaveEnabled" : true ,
46+ "[python]" : {
47+ "editor.defaultFormatter" : " ms-python.black-formatter" ,
48+ "editor.formatOnSave" : true ,
49+ "editor.codeActionsOnSave" : {
50+ "source.organizeImports" : " explicit" ,
51+ // "source.unusedImports": "explicit" // this one is disturbing when developping
52+ },
53+ },
54+ "cSpell.words" : [
55+ " datauri" ,
56+ " Dateonly" ,
57+ " sessionmaker"
58+ ],
59+ }
0 commit comments