Skip to content

Commit ee7e48a

Browse files
ci(lint): Avoid changing Optional[int] -> int | None (#29836)
1 parent d43c48d commit ee7e48a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ repos:
2323
- id: pyupgrade
2424
name: pyupgrade
2525
entry: pyupgrade
26-
args: ['--py38-plus']
26+
args: ['--py38-plus', '--keep-runtime-typing']
2727
language: system
2828
types: [python]
2929
# We can't change this mock to unittest.mock until Python 3.8,

0 commit comments

Comments
 (0)