azdev 0.1.85__tar.gz → 0.1.87__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {azdev-0.1.85 → azdev-0.1.87}/HISTORY.rst +8 -0
- {azdev-0.1.85/azdev.egg-info → azdev-0.1.87}/PKG-INFO +9 -1
- {azdev-0.1.85 → azdev-0.1.87}/azdev/__init__.py +1 -1
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/constant.py +11 -2
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/linter.py +4 -4
- {azdev-0.1.85 → azdev-0.1.87/azdev.egg-info}/PKG-INFO +9 -1
- {azdev-0.1.85 → azdev-0.1.87}/LICENSE +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/MANIFEST.in +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/README.md +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/README.rst +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/__main__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/commands.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/completer.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/config/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/config/cli.flake8 +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/config/cli_pylintrc +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/config/ext.flake8 +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/config/ext_pylintrc +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/help.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/HISTORY.rst +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/README.rst +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/_client_factory.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/_help.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/_params.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/_validators.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/azext_metadata.json +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/blank__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/commands.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/custom.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/module__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/pkg_declare__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/setup.cfg +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/setup.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/mod_templates/test_service_scenario.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/breaking_change/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/breaking_change/markdown_template.jinja2 +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/cmdcov/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/cmdcov/_macros.j2 +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/cmdcov/cmdcov.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/cmdcov/component.css +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/cmdcov/component.js +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/cmdcov/favicon.ico +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/cmdcov/index.j2 +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/cmdcov/index2.j2 +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/cmdcov/module.j2 +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/code_gen.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/command_change/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/command_change/custom.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/command_change/util.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/extensions/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/extensions/util.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/extensions/version_upgrade.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/help/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/help/refdoc/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/help/refdoc/conf.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/legal.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/pylint_checkers/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/pylint_checkers/show_command.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/rule_decorators.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/rules/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/rules/ci_exclusions.yml +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/rules/command_coverage_rules.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/rules/command_group_rules.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/rules/command_rules.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/rules/help_rules.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/rules/linter_exclusions.yml +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/rules/parameter_rules.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/linter/util.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/performance.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/pypi.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/python_sdk.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/regex.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/resource.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/secret.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/setup.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/statistics/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/statistics/util.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/style.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/testtool/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/testtool/incremental_strategy.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/testtool/profile_context.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/operations/testtool/pytest_runner.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/params.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/transformers.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/utilities/__init__.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/utilities/command.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/utilities/config.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/utilities/const.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/utilities/display.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/utilities/git_util.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/utilities/path.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/utilities/pypi.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/utilities/testing.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev/utilities/tools.py +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev.egg-info/SOURCES.txt +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev.egg-info/dependency_links.txt +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev.egg-info/entry_points.txt +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev.egg-info/requires.txt +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/azdev.egg-info/top_level.txt +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/pyproject.toml +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/setup.cfg +0 -0
- {azdev-0.1.85 → azdev-0.1.87}/setup.py +0 -0
|
@@ -2,6 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
Release History
|
|
4
4
|
===============
|
|
5
|
+
0.1.87
|
|
6
|
+
++++++
|
|
7
|
+
* `azdev linter`: Fix repo path failed when `detect_new_command`.
|
|
8
|
+
|
|
9
|
+
0.1.86
|
|
10
|
+
++++++
|
|
11
|
+
* `azdev linter`: Add close html tags into whitelist of `disallowed_html_tags`
|
|
12
|
+
|
|
5
13
|
0.1.85
|
|
6
14
|
++++++
|
|
7
15
|
* `azdev setup`: Setup the upstream and enable .githooks for azure-cli and azure-cli-extensions repos
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: azdev
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.87
|
|
4
4
|
Summary: Microsoft Azure CLI Developer Tools
|
|
5
5
|
Home-page: https://github.com/Azure/azure-cli-dev-tools
|
|
6
6
|
Author: Microsoft Corporation
|
|
@@ -148,6 +148,14 @@ License
|
|
|
148
148
|
|
|
149
149
|
Release History
|
|
150
150
|
===============
|
|
151
|
+
0.1.87
|
|
152
|
+
++++++
|
|
153
|
+
* `azdev linter`: Fix repo path failed when `detect_new_command`.
|
|
154
|
+
|
|
155
|
+
0.1.86
|
|
156
|
+
++++++
|
|
157
|
+
* `azdev linter`: Add close html tags into whitelist of `disallowed_html_tags`
|
|
158
|
+
|
|
151
159
|
0.1.85
|
|
152
160
|
++++++
|
|
153
161
|
* `azdev setup`: Setup the upstream and enable .githooks for azure-cli and azure-cli-extensions repos
|
|
@@ -82,15 +82,24 @@ EXCLUDE_MODULES = [
|
|
|
82
82
|
|
|
83
83
|
# refer to doc: https://review.learn.microsoft.com/en-us/help/platform/metadata-taxonomies/allowed-html?branch=main
|
|
84
84
|
ALLOWED_HTML_TAG = [
|
|
85
|
-
"a", "address", "article", "b", "blockquote", "
|
|
85
|
+
"a", "address", "article", "b", "blockquote", "button", "br", "br /",
|
|
86
|
+
"/a", "/address", "/article", "/b", "/blockquote", "/button", "/br", "br/",
|
|
86
87
|
"caption", "center", "cite", "code", "col", "colgroup",
|
|
88
|
+
"/caption", "/center", "/cite", "/code", "/col", "/colgroup",
|
|
87
89
|
"dd", "del", "details", "div", "dl", "dt", "em", "figcaption", "figure", "form",
|
|
90
|
+
"/dd", "/del", "/details", "/div", "/dl", "/dt", "/em", "/figcaption", "/figure", "/form",
|
|
88
91
|
"h1", "h2", "h3", "h4", "head", "hr",
|
|
92
|
+
"/h1", "/h2", "/h3", "/h4", "/head", "/hr",
|
|
89
93
|
"i", "iframe", "image", "img", "input", "ins", "kbd",
|
|
94
|
+
"/i", "/iframe", "/image", "/img", "/input", "/ins", "/kbd",
|
|
90
95
|
"label", "li", "nav", "nobr", "ol", "p", "pre", "rgn",
|
|
96
|
+
"/label", "/li", "/nav", "/nobr", "/ol", "/p", "/pre", "/rgn",
|
|
91
97
|
"s", "section", "source", "span", "strike", "strong", "sub", "summary", "sup",
|
|
98
|
+
"/s", "/section", "/source", "/span", "/strike", "/strong", "/sub", "/summary", "/sup",
|
|
92
99
|
"table", "tbody", "td", "tfoot", "th", "thead", "tr",
|
|
93
|
-
"
|
|
100
|
+
"/table", "/tbody", "/td", "/tfoot", "/th", "/thead", "/tr",
|
|
101
|
+
"u", "ul", "wbr",
|
|
102
|
+
"/u", "/ul", "/wbr",
|
|
94
103
|
]
|
|
95
104
|
|
|
96
105
|
DISALLOWED_HTML_TAG_RULE_LINK = "https://review.learn.microsoft.com/en-us/help/platform/validation-ref/disallowed-html-tag?branch=main"
|
|
@@ -268,7 +268,7 @@ class Linter: # pylint: disable=too-many-public-methods, too-many-instance-attr
|
|
|
268
268
|
if idx:
|
|
269
269
|
idx = int(idx[0]) + offset
|
|
270
270
|
break
|
|
271
|
-
with open(os.path.join(
|
|
271
|
+
with open(os.path.join(self.git_repo, diff.a_path), encoding='utf-8') as f:
|
|
272
272
|
param_lines = f.readlines()
|
|
273
273
|
cmds = search_argument_context(idx, param_lines)
|
|
274
274
|
for cmd in cmds:
|
|
@@ -292,7 +292,7 @@ class Linter: # pylint: disable=too-many-public-methods, too-many-instance-attr
|
|
|
292
292
|
if idx:
|
|
293
293
|
idx = int(idx[0]) + offset
|
|
294
294
|
break
|
|
295
|
-
with open(os.path.join(
|
|
295
|
+
with open(os.path.join(self.git_repo, diff.a_path), encoding='utf-8') as f:
|
|
296
296
|
cmd_lines = f.readlines()
|
|
297
297
|
cmd = search_command_group(idx, cmd_lines, command)
|
|
298
298
|
if cmd:
|
|
@@ -310,14 +310,14 @@ class Linter: # pylint: disable=too-many-public-methods, too-many-instance-attr
|
|
|
310
310
|
for diff in diff_index:
|
|
311
311
|
filename = diff.a_path.split('/')[-1]
|
|
312
312
|
if re.findall(r'^test_.*\.py$', filename) and \
|
|
313
|
-
os.path.exists(os.path.join(
|
|
313
|
+
os.path.exists(os.path.join(self.git_repo, diff.a_path)):
|
|
314
314
|
with open(os.path.join(self.git_repo, diff.a_path), encoding='utf-8') as f:
|
|
315
315
|
lines = f.readlines()
|
|
316
316
|
ref = get_all_tested_commands_from_regex(lines)
|
|
317
317
|
all_tested_command += ref
|
|
318
318
|
# get tested command by recording file
|
|
319
319
|
if re.findall(r'^test_.*\.yaml$', filename) and \
|
|
320
|
-
os.path.exists(os.path.join(
|
|
320
|
+
os.path.exists(os.path.join(self.git_repo, diff.a_path)):
|
|
321
321
|
with open(os.path.join(self.git_repo, diff.a_path)) as f:
|
|
322
322
|
records = yaml.load(f, Loader=yaml.Loader) or {}
|
|
323
323
|
for record in records['interactions']:
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: azdev
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.87
|
|
4
4
|
Summary: Microsoft Azure CLI Developer Tools
|
|
5
5
|
Home-page: https://github.com/Azure/azure-cli-dev-tools
|
|
6
6
|
Author: Microsoft Corporation
|
|
@@ -148,6 +148,14 @@ License
|
|
|
148
148
|
|
|
149
149
|
Release History
|
|
150
150
|
===============
|
|
151
|
+
0.1.87
|
|
152
|
+
++++++
|
|
153
|
+
* `azdev linter`: Fix repo path failed when `detect_new_command`.
|
|
154
|
+
|
|
155
|
+
0.1.86
|
|
156
|
+
++++++
|
|
157
|
+
* `azdev linter`: Add close html tags into whitelist of `disallowed_html_tags`
|
|
158
|
+
|
|
151
159
|
0.1.85
|
|
152
160
|
++++++
|
|
153
161
|
* `azdev setup`: Setup the upstream and enable .githooks for azure-cli and azure-cli-extensions repos
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|