Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
repos:
- repo: https://github.com/psf/black
rev: 22.3.0 # Use the latest stable version of Black
hooks:
- id: black
args: [--line-length=88] # Adjust line length as needed
- repo: https://github.com/pycqa/flake8
rev: 7.2.0 # pick a git hash / tag to point to
hooks:
- id: flake8
3 changes: 2 additions & 1 deletion dev_dependencies.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
pytest
pytest-asyncio
pytest-mock
pytest-mock
pre-commit
16 changes: 16 additions & 0 deletions dev_setup.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
python -m venv venv

. .\venv\Scripts\Activate.ps1

pip install -e ./libraries/microsoft-agents-activity/ --config-settings editable_mode=compat
pip install -e ./libraries/microsoft-agents-authentication-msal/ --config-settings editable_mode=compat
pip install -e ./libraries/microsoft-agents-copilotstudio-client/ --config-settings editable_mode=compat
pip install -e ./libraries/microsoft-agents-hosting-aiohttp/ --config-settings editable_mode=compat
pip install -e ./libraries/microsoft-agents-hosting-core/ --config-settings editable_mode=compat
pip install -e ./libraries/microsoft-agents-hosting-teams/ --config-settings editable_mode=compat
pip install -e ./libraries/microsoft-agents-storage-blob/ --config-settings editable_mode=compat
pip install -e ./libraries/microsoft-agents-storage-cosmos/ --config-settings editable_mode=compat

pip install -r dev_dependencies.txt

pre-commit install