azure-cli-dev-tools
azure-cli-dev-tools copied to clipboard
Developer utilities for Azure CLI command module and extension developers.
There are important files that Microsoft projects should all have that are not present in this repository. A pull request has been opened to add the missing file(s). When the...
Please accept this contribution adding the standard Microsoft SECURITY.MD :lock: file to help the community understand the security policy and how to safely report security issues. GitHub uses the presence...
Description: - `azdev cmdcov` atuo generate CLI Command Test Coverage Report about every module to track and improve command-level test coverage. - `azdev linter` add rules to detect any missing...
After cloning the `azure-cli` and `azure-cli-extensions`, I want to develop and place my extension in my existing repo, within a specific folder. If I run `azdev setup --cli /home/joalmeid/tre-cli/azure-cli --repo...
Linter check raise the following error in [PR](https://github.com/Azure/azure-cli/pull/22201): https://dev.azure.com/azure-sdk/public/_build/results?buildId=1532217&view=logs&j=168ccbe3-da49-5c0b-6478-08f7016e4bf5&t=10a595be-4223-5cc7-9a73-012871b6eaee&s=96ac2280-8cb4-5df5-99de-dd2da759617d  After debugging, it is caused by: https://github.com/Azure/azure-cli-dev-tools/blob/c94bff479f633845ccce1279eebac60426e985ab/azdev/operations/linter/rules/help_rules.py#L124 Linter rule `faulty_help_example_parameters_rule` will get `example_text` from _help.py file. One of the generated...
If not install azdev in a virtualenv, it will throw errors: ``` root@098c3f2011fb:/# azdev setup -c -r azure-cli-extensions/ Traceback (most recent call last): File "/usr/local/bin/azdev", line 11, in sys.exit(main()) File...
Currently, for SDK or API version bump, only incremental tests are run. This frequently leads to `dev` branch Batched CI failure because the new API or SDK conflicts with other...
I'm currently packaging `azdev` for openSUSE Tumbleweed: See: https://build.opensuse.org/package/show/home:glaubitz:branches:Cloud:Tools/azdev The testsuite currently fails in `test_service_scenario.py` with a syntax error, even on Python 3.8 (since Python 3.9 and 3.10 are not...