mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Python: package setup with logger (#125)
* package setup with logger * set config once * add unit test workflow * updated naming of workflows * add mypy check * renamed job * smaller name * ignore certain files for ruff * remove assignment * fix ruff config * removed pyright from pre-commit * fixed logging test * fix mypy setup * mypy fix * mypy * mypy
This commit is contained in:
committed by
GitHub
Unverified
parent
0c61aee8e5
commit
7cc29fe192
Vendored
+46
@@ -0,0 +1,46 @@
|
||||
{
|
||||
"editor.formatOnType": true,
|
||||
"editor.formatOnSave": true,
|
||||
"editor.formatOnPaste": true,
|
||||
"editor.defaultFormatter": "charliermarsh.ruff",
|
||||
"cSpell.languageSettings": [
|
||||
{
|
||||
"languageId": "py",
|
||||
"allowCompoundWords": true,
|
||||
"locale": "en-US"
|
||||
}
|
||||
],
|
||||
"[python]": {
|
||||
"editor.codeActionsOnSave": {
|
||||
"source.organizeImports": "explicit",
|
||||
"source.fixAll": "explicit"
|
||||
},
|
||||
"editor.formatOnSave": true,
|
||||
"editor.defaultFormatter": "charliermarsh.ruff"
|
||||
},
|
||||
"python.analysis.autoFormatStrings": true,
|
||||
"python.analysis.extraPaths": [
|
||||
"${workspaceFolder}/agent_framework",
|
||||
"${workspaceFolder}/extensions/openai",
|
||||
"${workspaceFolder}/extensions/azure"
|
||||
],
|
||||
"python.analysis.importFormat": "relative",
|
||||
"python.analysis.packageIndexDepths": [
|
||||
{
|
||||
"name": "agent_framework",
|
||||
"depth": 2
|
||||
},
|
||||
{
|
||||
"name": "extensions",
|
||||
"depth": 2
|
||||
},
|
||||
{
|
||||
"name": "openai",
|
||||
"depth": 2
|
||||
},
|
||||
{
|
||||
"name": "azure",
|
||||
"depth": 2
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user