We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 228f8ca commit dc3ba8cCopy full SHA for dc3ba8c
pylintrc
@@ -46,7 +46,6 @@ disable=
46
consider-using-dict-items,
47
consider-using-enumerate,
48
redundant-u-string-prefix,
49
- raising-bad-type,
50
unused-private-member,
51
# These rules were added in Pylint >= 2.12, disable them to avoid making retroactive change
52
missing-timeout,
src/azure-cli/azure/cli/command_modules/acs/azuremonitormetrics/amw/defaults.py
@@ -12,7 +12,7 @@
12
def get_default_region(cmd):
13
cloud_name = cmd.cli_ctx.cloud.name
14
if cloud_name.lower() == 'azurechinacloud':
15
- raise "chinanorth3"
+ return "chinanorth3"
16
if cloud_name.lower() == 'azureusgovernment':
17
return "usgovvirginia"
18
if cloud_name.lower() == 'ussec':
0 commit comments