Skip to content

[CI] Update format.sh to support the Black code style #21312

@bveeramani

Description

@bveeramani

Summary

Update format.sh so that developers can format code in the Black code style, but continue to use YAPF by default.

Motivation

The pull request to Blacken the code will modify over 1,500 files. To ensure that the changes to format.sh are easily reviewable, we'll make the changes in a separate PR.

Changes

Here are all of the specific changes we'll need to make to implement this functionality:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions