@@ -16,7 +16,7 @@ help: Replace with `None`; initialize within function
16165 + def import_module_wrong(value : dict [str , str ] = None ):
17176 | import os
18187 + if value is None:
19- 8 + value: dict[str, str] = {}
19+ 8 + value = {}
20209 |
212110 |
222211 | def import_module_with_values_wrong (value : dict [str , str ] = {}):
@@ -38,7 +38,7 @@ help: Replace with `None`; initialize within function
383810 | import os
393911 |
404012 + if value is None:
41- 13 + value: dict[str, str] = {}
41+ 13 + value = {}
424214 | return 2
434315 |
444416 |
@@ -62,7 +62,7 @@ help: Replace with `None`; initialize within function
626217 | import sys
636318 | import itertools
646419 + if value is None:
65- 20 + value: dict[str, str] = {}
65+ 20 + value = {}
666621 |
676722 |
686823 | def from_import_module_wrong (value : dict [str , str ] = {}):
@@ -83,7 +83,7 @@ help: Replace with `None`; initialize within function
838321 + def from_import_module_wrong(value : dict [str , str ] = None ):
848422 | from os import path
858523 + if value is None:
86- 24 + value: dict[str, str] = {}
86+ 24 + value = {}
878725 |
888826 |
898927 | def from_imports_module_wrong (value : dict [str , str ] = {}):
@@ -106,7 +106,7 @@ help: Replace with `None`; initialize within function
10610626 | from os import path
10710727 | from sys import version_info
10810828 + if value is None:
109- 29 + value: dict[str, str] = {}
109+ 29 + value = {}
11011030 |
11111131 |
11211232 | def import_and_from_imports_module_wrong (value : dict [str , str ] = {}):
@@ -129,7 +129,7 @@ help: Replace with `None`; initialize within function
12912931 | import os
13013032 | from sys import version_info
13113133 + if value is None:
132- 34 + value: dict[str, str] = {}
132+ 34 + value = {}
13313335 |
13413436 |
13513537 | def import_docstring_module_wrong (value : dict [str , str ] = {}):
@@ -152,7 +152,7 @@ help: Replace with `None`; initialize within function
15215236 | """Docstring"""
15315337 | import os
15415438 + if value is None:
155- 39 + value: dict[str, str] = {}
155+ 39 + value = {}
15615640 |
15715741 |
15815842 | def import_module_wrong (value : dict [str , str ] = {}):
@@ -175,7 +175,7 @@ help: Replace with `None`; initialize within function
17517541 | """Docstring"""
17617642 | import os; import sys
17717743 + if value is None :
178- 44 + value : dict [ str , str ] = {}
178+ 44 + value = {}
17917945 |
18018046 |
18118147 | def import_module_wrong (value : dict [str , str ] = {}):
@@ -197,7 +197,7 @@ help: Replace with `None`; initialize within function
19719745 + def import_module_wrong (value : dict [str , str ] = None ):
19819846 | " " " Docstring" " "
19919947 + if value is None :
200- 48 + value : dict [ str , str ] = {}
200+ 48 + value = {}
20120149 | import os ; import sys ; x = 1
20220250 |
20320351 |
@@ -220,7 +220,7 @@ help: Replace with `None`; initialize within function
22022051 | " " " Docstring" " "
22122152 | import os ; import sys
22222253 + if value is None :
223- 54 + value : dict [ str , str ] = {}
223+ 54 + value = {}
22422455 |
22522556 |
22622657 | def import_module_wrong (value : dict [str , str ] = {}):
@@ -241,7 +241,7 @@ help: Replace with `None`; initialize within function
24124155 + def import_module_wrong (value : dict [str , str ] = None ):
24224256 | import os ; import sys
24324357 + if value is None :
244- 58 + value : dict [ str , str ] = {}
244+ 58 + value = {}
24524559 |
24624660 |
24724761 | def import_module_wrong (value : dict [str , str ] = {}):
@@ -261,7 +261,7 @@ help: Replace with `None`; initialize within function
261261 - def import_module_wrong (value : dict [str , str ] = {}):
26226259 + def import_module_wrong (value : dict [str , str ] = None ):
26326360 + if value is None :
264- 61 + value : dict [ str , str ] = {}
264+ 61 + value = {}
26526562 | import os ; import sys ; x = 1
26626663 |
26726764 |
@@ -282,7 +282,7 @@ help: Replace with `None`; initialize within function
28228263 + def import_module_wrong (value : dict [str , str ] = None ):
28328364 | import os ; import sys
28428465 + if value is None :
285- 66 + value : dict [ str , str ] = {}
285+ 66 + value = {}
28628667 |
28728768 |
28828869 | def import_module_wrong (value : dict [str , str ] = {}): import os
0 commit comments