{CI} Linter check faulty_help_example_parameters_rule error
@wangzelin007 đang làm issue này rồi.
Từ ngày 28/4/2022.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Linter check raise the following error in PR:
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 example_text
az aks connection create keyvault -g ClusterRG -n MyCluster --tg KeyvaultRG --vault MyVault --service-principal client-id=XX secret=XX missing optional parameter object-id=XX
The workaround is adding object-id=XX to _help.py file
The following three problems need to be solved :
- The generation logic of example_text
- How to optimize the error message, there is no connection between the current error log and the actual problem.
- An exception in one of the linter checks will cause the remaining linter checks to abort and exit
- Ngôn ngữ chính
- Python
- Star
- 91
- Fork
- 134
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Azure/azure-cli-dev-tools
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 65/100
Azure/azure-cli-dev-tools#310 ·
-
ModuleNotFoundError on `azdev extension publish`Có thể đã có người làm @german1608 đã nhận 368 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 38/100
Azure/azure-cli-dev-tools#529 ·
-
Check random default into metadata change whitelist.txtCó thể làm lại được @AllyW đã nhận 521 ngày trước và không có pull request nào đang mở. Đang mở
Azure/azure-cli-dev-tools#525 · 1 người được giao ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Azure/azure-cli-dev-tools#520 ·
-
`azdev extension remove` does not clear its corresponding source code path in `sys.path` when its package name is not its folder nameCó thể làm lại được @AllyW đã nhận 558 ngày trước và không có pull request nào đang mở. Đang mở
Azure/azure-cli-dev-tools#519 · 1 bình luận · 1 reaction · 1 người được giao ·
Tất cả issue của Azure/azure-cli-dev-tools
Issue tương tự
-
Update Python support to 3.15Đang mởpython-version
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug javascript P2-medium python release:v3.1
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
adrirubio/claude-deck#546 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: desktop area: website priority: P2 type: feature
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
appandflow/stim#3411 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 88/100
baptistehamon/lsapy#185 ·
Maintainer thường phản hồi trong vòng 1 ngày