Commit 03bc5a6
Add client name consistency rule to MGMT SDK code review rules (#46041)
* Add client name consistency rule to MGMT SDK code review rules
Add a rule requiring the client class name in _client.py, the client name
in README.md, and the title in pyproject.toml to all match.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Add no_sub rule for clients without subscription_id
When subscription_id is absent from the client signature in _client.py,
pyproject.toml must have no_sub = true. If missing, hint user to set it
and regenerate the SDK.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent a047e6f commit 03bc5a6
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
157 | 161 | | |
158 | 162 | | |
159 | 163 | | |
| |||
0 commit comments