mirror of https://github.com/celery/kombu.git
add --keep-runtime-typing argument to pyupgrade (#1639)
Per https://github.com/celery/kombu/pull/1632 @thedrow asked to add this argument so `Optional` is still used.
This commit is contained in:
parent
3722f6fa18
commit
bdd0672a58
|
@ -3,7 +3,7 @@ repos:
|
|||
rev: v3.3.1
|
||||
hooks:
|
||||
- id: pyupgrade
|
||||
args: ["--py37-plus"]
|
||||
args: ["--py37-plus", "--keep-runtime-typing"]
|
||||
|
||||
- repo: https://github.com/PyCQA/autoflake
|
||||
rev: v2.0.0
|
||||
|
|
Loading…
Reference in New Issue