- 
You need to have Python installed
 - 
We recommend at least 3.11 to have access to more tool by default (more can be added later)
 - 
You may use the "uv" tool as it's convenient, fast and handle Python version and venv creation automatically, but it's optional
 
- Go in the folder of the package you're working on, for instance 
sdk/contoso/azure-contoso 
- uv venv
 - uv pip install -r dev_requirements.txt
 
- python -m venv .venv
 - source .venv/bin/activate # This is for WSL, also put guidance for Windows
 - pip install -r dev_requirements.txt
 
# uv loads the venv for you when you prefix the command with uvx
- uvx azpysdk mypy
# You can call the command directly if you activated the venv
- azpysdk mypy
- mypy
 - pyling
 - sphinx
 
If you want to locally test different Python version, to be ssure you're compatible on all the required Python version, do that. Note that this is optional, and you can rely onn CI to test python versions.
uvx --python=3.9 azpysdk mypy
You need to install pyenv (explain that)