Skip to content

Commit

Permalink
[Identity] Enable black formatting in CI (#31315)
Browse files Browse the repository at this point in the history
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 <paulvaneck@microsoft.com>
  • Loading branch information
pvaneck authored Jul 26, 2023
1 parent d3f02d4 commit e8d9518
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ def _request_token(self, *scopes: str, **kwargs: Any) -> Dict:
# base class will raise for other errors
return result


def _open_browser(url):
opened = webbrowser.open(url)
if not opened:
Expand Down
1 change: 1 addition & 0 deletions sdk/identity/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ extends:
Path: sdk/identity/platform-matrix.json
Selection: sparse
GenerateVMJobs: true
ValidateFormatting: true
TestProxy: true
Artifacts:
- name: azure-identity
Expand Down

0 comments on commit e8d9518

Please sign in to comment.