use pyupgrade to update to new typing syntax (#31580)

* add pyupgrade hook

* run pyupgrade (pre-commit run -a)

* ruff --fix

* Revert "add pyupgrade hook"

This reverts commit 56ec18bb6b8602a0b612f3803d96cdad14b52066.

* revert changes to third_party/

* manual type fixes

* explicit Optional wrapping capnp objects
old-commit-hash: 995250ae49
This commit is contained in:
Cameron Clough
2024-02-25 00:41:23 +00:00
committed by GitHub
parent 8af72c9330
commit 9bd90112d0
125 changed files with 464 additions and 525 deletions

View File

@@ -1,3 +0,0 @@