Azure / Azure/azure-cli

homebrew formula do not pass the `brew audit --strict` check

Open
#15,642 2 comments 0 reactions 0 assignees View on GitHub
act-platform-engineering-squad feature-request OKR3.2 Candidate Packaging
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

> ### `az feedback` auto-generates most of the information requested below, as of CLI version 2.0.62

**Describe the bug**
As homebrew update the audit rule, azure-cli's formula will not pass the audit check.

`brew audit --strict azure-cli.rb` will report below errors:

> Error: 5 problems in 1 formula detected
> azure-cli:
> * 1: col 1: Class has too many lines. [594/100]
> * 1: col 1: Missing top-level class documentation comment.
> * 1: col 1: Missing frozen string literal comment.
> * 714: col 3: Assignment Branch Condition size for install is too high. [<3, 21, 3> 21.42/17]
> * 714: col 3: Method has too many lines. [17/10]
>

We need to update the homebrew formula template according to the latest rule.

**To Reproduce**

**Expected behavior**

**Environment summary**

**Additional context**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.