Skip to content

Commit

Permalink
Run pyupgrade --keep-runtime-typing in pre-commit (#5922)
Browse files Browse the repository at this point in the history
* Remove pyupgrade from pre-commit configuration

* Run pyupgrade with --keep-runtime-typing

* Update .pre-commit-config.yaml

Co-authored-by: Christian Clauss <[email protected]>
  • Loading branch information
jimchamp and cclauss authored Nov 30, 2021
1 parent 16ba770 commit dd8d39f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,5 @@ repos:
hooks:
- id: pyupgrade
args:
- --py39-plus
- --py39-plus
- --keep-runtime-typing

0 comments on commit dd8d39f

Please sign in to comment.