Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

[tracker] pyupgrade --py36-plus #9744

@ShadowJonathan

Description

@ShadowJonathan

This is a tracker issue for running and PR-ing automated refactors using pyupgrade, per #9131.

I'll do this in the following changes:

Overall Extra Info

Some common changes from pyupgrade:

  • Changes %-formatting to .format (or f-strings if non-trivial)
  • Removes coding: utf-8 file header (not needed since python 3)
  • Changes typing.TypedDict("A") class instantiations to class A(TypedDict)

Metadata

Metadata

Assignees

No one assigned

    Labels

    T-TaskRefactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions