Skip to content

Commit e8d9518

Browse files
authored
[Identity] Enable black formatting in CI (#31315)
With the recent black reformatting to azure-identity, let's keep the formatting in check by enabling it in the CI. Signed-off-by: Paul Van Eck <[email protected]>
1 parent d3f02d4 commit e8d9518

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

sdk/identity/azure-identity/azure/identity/_credentials/browser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ def _request_token(self, *scopes: str, **kwargs: Any) -> Dict:
159159
# base class will raise for other errors
160160
return result
161161

162+
162163
def _open_browser(url):
163164
opened = webbrowser.open(url)
164165
if not opened:

sdk/identity/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@ extends:
3535
Path: sdk/identity/platform-matrix.json
3636
Selection: sparse
3737
GenerateVMJobs: true
38+
ValidateFormatting: true
3839
TestProxy: true
3940
Artifacts:
4041
- name: azure-identity

0 commit comments

Comments
 (0)