File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change 4343 IO ,
4444 Any ,
4545 Callable ,
46- List ,
4746 Optional ,
4847 Union ,
4948 cast ,
@@ -3093,7 +3092,7 @@ def _insert_filtered_annotations(
30933092 ) -> list [Destination ]:
30943093 outlist = ArrayObject ()
30953094 if isinstance (annots , IndirectObject ):
3096- annots = cast ("List [Any]" , annots .get_object ())
3095+ annots = cast ("list [Any]" , annots .get_object ())
30973096 if annots is None :
30983097 return outlist
30993098 if not isinstance (annots , list ):
Original file line number Diff line number Diff line change @@ -200,7 +200,6 @@ ignore = [
200200 " TRY301" , # Abstract `raise` to an inner function
201201 " UP006" , # Non-PEP 585 annotation. As long as we are not on Python 3.11+
202202 " UP007" , # Non-PEP 604 annotation. As long as we are not on Python 3.11+
203- " UP035" , # PEP 585. As long as we are not on Python 3.9+
204203 " UP038" , # Use `X | Y` in `isinstance` call instead of `(X, Y)` - PEP 604. While not on Python 3.10+
205204]
206205
You can’t perform that action at this time.
0 commit comments