repos:
-   repo: https://github.com/ambv/black
    rev: 20.8b1
    hooks:
    - id: black
      args: [--safe, --quiet]
      exclude: tests/testdata|doc/
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v3.4.0
    hooks:
    - id: trailing-whitespace
      exclude: .github/|tests/testdata
    - id: end-of-file-fixer
      exclude: tests/testdata

repos:
-   repo: https://github.com/asottile/pyupgrade
    rev: v2.10.0
    hooks:
      - id: pyupgrade
        exclude: tests/testdata
        args: [ --py36-plus ]
-   repo: https://github.com/ambv/black
    rev: 20.8b1
    hooks:
    - id: black
      args: [--safe, --quiet]
      exclude: tests/testdata|doc/
-   repo: https://github.com/pre-commit/pre-commit-hooks
    rev: v3.4.0
    hooks:
    - id: trailing-whitespace
      exclude: .github/|tests/testdata
    - id: end-of-file-fixer
      exclude: tests/testdata

Add pyupgrade to the pre-commit configuration
Add pyupgrade to the pre-commit configuration
