Skip to content

Conversation

@jdufresne
Copy link
Contributor

pyugrade is a command line tool to automatically update Python syntax to
modern usage and patterns. For additional details, see:

https://github.com/asottile/pyupgrade

Changes made by the tool:

  • Use short Python3 super() syntax.
  • Use f-strings when they are simple and more readable.
  • Drop Python 2 u prefix from strings.
  • Drop "r" argument from open(). It is the default and so specifying it is
    unnecessary.

pyugrade is a command line tool to automatically update Python syntax to
modern usage and patterns. For additional details, see:

https://github.com/asottile/pyupgrade

Changes made by the tool:

- Use short Python3 super() syntax.
- Use f-strings when they are simple and more readable.
- Drop Python 2 u prefix from strings.
- Drop "r" argument from open(). It is the default and so specifying it is
  unnecessary.
@jpadilla jpadilla merged commit 9324d6f into jpadilla:master Dec 16, 2020
@jpadilla jpadilla added this to the v2.0.0 milestone Dec 16, 2020
@jdufresne jdufresne deleted the pyupgrade branch December 18, 2020 00:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants