Граф коммитов

15 Коммитов

Автор SHA1 Сообщение Дата
ZelinWang 4f19253396
{CI} Disable too-many-positional-arguments R0917 (#8011) 2024-09-23 11:59:09 +08:00
ZelinWang 62e4123489
{CI} Fix static analysis (#6509)
* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* update

* Empty

* Update azure-pipelines.yml

* Update azdev_setup.yml

* Update azure-pipelines.yml

* Update azure-pipelines.yml

* Empty

* update

* modify containerapp

* update

* Update azdev_style_check.py

* Update azdev_style_check.py

* Update azdev_style_check.py

* update

* update

* Delete azdev_style_check.py

* Update test_source.py

* Update azdev_linter_style.py

* Update __init__.py

* todo

* update

* update

* Update __init__.py

* Update azure-pipelines.yml

* update

* update

* Update azdev_linter_style.py

* update
2023-12-13 18:15:08 +08:00
Xing Zhou b648b3132b
{testsdk} Migrate `azure-devtools` to `azure-cli-testsdk` (#4211) 2021-12-10 16:00:25 +08:00
Jonathan He 3a5b66dcd7
vmware update to 2021-12-01 API (#3992)
* added commands for workload-network dhcp

* set limit of 3 on server_addresses and updated moved specific arguments in params

* removed comments

* updated error type for server_messages validation

* removed comments and styling

* added dns-server commands

* added dns-zone commands

* allow dhcp server and relay calls with None parameters

* added workload_network dns-zone commands

* Update src/vmware/CHANGELOG.md

* renamed dhcp test files to workload-network

* added port-mirroring and renamed dhcp test file to workloadnetwork

* updated changelog

* updated help and param text based on comments

* fixed parameter typo

* workload-network segment public-ip and vm-group commands

* fixed merge issue

* updated merge

* added workload-network vm and gateway commands'

* updated changelog

* styling updates

* updated help texts

* updated parameter name

* removed '-id' from parameters

* fixed unit tests

* updated sdk to 12-01 api and updated private cloud create and update commands

* fixed unit tests that were broken from upgrade to 12-01-21

* uncommented test file

* merged with main

* added unit tests for placement-policy and vm

* added prefixes for flattened properties

* changed encryption_status to enc_status to match abbreviation convention

* added managed identity parameters, warning prompt for placement policy vm/vm host delete, updated private cloud methods

* deprecated listadmincredentials, addidentitysource,deleteidentitysource

Co-authored-by: Xing Zhou <Zhou.Xing@microsoft.com>
2021-11-13 10:59:47 +08:00
Jiashuo Li bad8f3bc7b
{Pylint} Ignore `tests` folders (#3352) 2021-05-12 17:18:02 +08:00
MyronFanQiu 32e83ad84e
[Network]Support p2s vpn gateway and vpn server configuration (#1840) 2020-06-17 11:15:15 +08:00
MyronFanQiu 255d9682f5
[Monitor] az monitor app-insights query: fix for --offset (#1830) 2020-06-05 16:45:01 +08:00
MyronFanQiu 680251d8fc [CI] diable import check for azure_devtools in pylint (#1186) 2020-01-09 16:33:13 +08:00
Jianhui Harold 7c5a7e25f6 [CI] Move 1: Copy job SourceStaticPy from Travis to ADO (5/6) (#1156)
* Enable flake8 on extension in ADO

* Enable pylint on CI scripts in ADO

* Enable flake8 on CI scripts in ADO

* Enable code owner and license checks in ADO

* Fix bug: pylint==1.9.5 didnt recognize disable=too-many-lines
2019-12-19 07:00:02 +08:00
Jianhui Harold 32dc96da9c [CI] Move 1: Copy job SourceStaticPy from Travis to ADO (1/6) (#1133)
* Move job SourceStatic to ADO

- rename as CodeStyleCheck

* Fix bug caused by indent

* Fix wrong-import-order in applicationinsights.commands

* Fix wrong-import-order in azext_dns.

- Disable lint on azext_dns

* Fix W1202:logging-format-interpolation in azext_find

* Fix wrong-import-order in azext_interactive

* Recover scripts/ci/test_static.sh. Use scripts/ci/test_static.py instead

* Fix encoding bug in Windows scripts/ci/test_static.py

* Switch to scripts/ci/test_static.py

* Fix logging-format-interpolation in src/mesh/azext_mesh/custom.py

* Fix:Using deprecated method warn() (deprecated-method) in src/webapp/azext_webapp/tunnel.py

* Fix logging-not-lazy in src/resource-graph/azext_resourcegraph/custom.py

* Fix line-too-long in src/aks-preview/azext_aks_preview/custom.py

* Fix unused-argument in src/aks-preview/azext_aks_preview/custom.py

* Fix too-many-statements in src/aks-preview/azext_aks_preview/custom.py

* Fix too-many-branches, too-many-locals  in src/aks-preview/azext_aks_preview/custom.py

* Fix logging-format-interpolation in src/aks-preview/azext_aks_preview/custom.py

* Fix too-many-lines in src/aks-preview/azext_aks_preview/custom.py

* Upgrade pylint to 2.3.0 along with azdev

* Pre-install wheel

* Pre-install wheel==0.30.0

* Pre-install requests

* Fix mistake import reorder

* Disable try-except-raise in src/dms-preview/azext_dms/custom.py

* Disable arguments-differ in src/spring-cloud/azext_spring_cloud/azure_storage_file/sharedaccesssignature.py

* Remove no-else-return, no-else-raise refector suggestion

* Downgrade pylint to 1.9.5 since try-catch-rase checkers incompatible between 1.* and 2.*

* Fix: E2057 in src/aks-preview/azext_aks_preview/custom.py

* Fix error in scripts/ci/source_code_static_analysis.py

* typo

* Remove deprecated extension: DNS

* Remove codeowner for deprecated extension: DNS

* Remove flake8 exclusion configuration for deprecated extension: DNS

* Fix PR #802 bump SDK version without updating tests
2019-12-17 16:07:29 +08:00
Willie Xu 1a2f7f08c8
Storage extension updates (#262)
* re-recorded failing test

* initial migration of module changes

* updated tests and recordings

* tests fixes

* static check
2018-08-14 17:43:07 -07:00
Willie Xu 728f66eca9
Initial extension for storage preview (#138)
* added new storage preview module extension

* changed namespaces to be relative

CLI code

resolved imports

* removed non-latest tests, ignore oylint for test files

* resolved more pylint failures

pylint errors

relative import pylint

* adding willie as codeowner

codeowner

* addressed feedback
2018-04-16 16:01:33 -07:00
Travis Prescott 76a4dad4a6 Merge Knack-based extensions with updated index (#28)
* Ignore SDK models/operations and KnackConversion testsdk (#22)

* Ignore SDK models/operations and KnackConversion testsdk

* Install from KnackConversion branch

* Fix new pylint

* Ignore knack and other azure.cli modules from pylint import errors (#23)

* Ignore _management_client.py from SDK also (#25)

* Image-copy: knack conversion (#26)

* knack conversion

* fixing some lint warnings

* fix number displayed in progress reporting

* fix more lint issues

* fix mroe lint issues

* image-copy: fix lint issue

* Update IoT Extension index data for new release. (#27)

* Update IoT Extension index data for new release.

* Tweak dependency format.

* minCLiVersion->minCliCoreVersion

* Checksum must be lowercase.

* Update minCliCoreVersion.

* Add new hash.

* image copy: add version 0.0.4 back to index (#29)

* image copy: add version 0.0.4 back to index

* image copy: fix json object
2018-01-08 20:47:27 +00:00
Derek Bekoe c20a5e453f
CI pylint: Ignore azure. import errors also (#14) 2017-11-03 14:21:46 -07:00
Derek Bekoe 4a81d88911
Static CI checks (#9)
* Static CI checks

- Fix style of image-copy
- Add PR template
- Add license and codeowner checks
- pylint/pep8

* Use build stages correctly
2017-11-01 10:20:00 -07:00