Skip to content

Move Python formatting to a supported formatter #158384

@cbracken

Description

@cbracken

We currently format all Python code using yapf. This is done via the tools/yapf.sh and tools/yapf.bat wrapper scripts.

Unfortunately, yapf is abandoned and only works with Python versions up to and including Python 3.10. As OS and local Python installations are upgraded, this will become more and more problematic. On some Linux distributions side-by-side python installations are unsupported, for example.

Workarounds

Those on macOS can work around this by installing homebrew then:

brew install [email protected]

Related

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: contributor-productivityTeam-specific productivity, code health, technical debt.c: tech-debtTechnical debt, code quality, testing, etc.engineflutter/engine related. See also e: labels.team-engineOwned by Engine teamtriaged-engineTriaged by Engine team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions