Axsuarez/basic bot python template #14458
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds a comprehensive set of configuration, environment, and documentation files to the Python "Default Bot" template for Microsoft Teams, ensuring a smoother developer experience in VS Code and better project structure. The changes include VS Code settings, launch and task configurations, environment variable templates, ignore files, a Teams app manifest, and a detailed README. These additions provide out-of-the-box support for debugging, linting, formatting, deployment, and documentation, making it easier to start and manage bot projects.
VS Code Configuration and Developer Experience
.vscode/settings.json
to enable Python linting with flake8, formatting with black, and schema validation for JSON files..vscode/extensions.json
to recommend essential VS Code extensions for Python and Teams development..vscode/launch.json.tpl
with launch configurations for debugging the bot in Teams (Edge, Chrome, Desktop, Playground), including compound configurations for multi-process debugging..vscode/tasks.json
with pre-defined tasks for validating prerequisites, deploying, starting the application, and launching the Teams client or Playground.Environment and Ignore Files
env/.env.local
,env/.env.dev
,env/.env.playground
) to support local, development, and playground scenarios, improving deployment and debugging flexibility. [1] [2] [3].gitignore.tpl
and.webappignore
files to exclude Python, Node.js, and VS Code artifacts from source control and web app packaging, keeping the repository clean. [1] [2]Manifest and Documentation
appPackage/manifest.json.tpl
for the Teams app manifest, specifying bot configuration, commands, permissions, and branding.README.md.tpl
describing prerequisites, setup instructions, included features, project structure, and customization guidance for the default bot template.