File tree Expand file tree Collapse file tree 1 file changed +37
-11
lines changed
faker/providers/automotive/ko_KR Expand file tree Collapse file tree 1 file changed +37
-11
lines changed Original file line number Diff line number Diff line change 11from .. import Provider as AutomotiveProvider
22
3+
34class Provider (AutomotiveProvider ):
45 """
56 Implement automotive provider for ``ko_KR`` locale.
67 """
78
89 license_formats = (
9- ' ##?####' ,
10- ' ###?####' ,
10+ " ##?####" ,
11+ " ###?####" ,
1112 )
1213
1314 letter_codes = (
14- "가" , "나" , "다" , "라" , "마" ,
15- "거" , "너" , "더" , "러" , "머" ,
16- "버" , "서" , "어" , "저" ,
17- "고" , "노" , "도" , "로" , "모" ,
18- "보" , "소" , "오" , "조" ,
19- "구" , "누" , "두" , "루" , "무" ,
20- "부" , "수" , "우" , "주" ,
15+ "가" ,
16+ "나" ,
17+ "다" ,
18+ "라" ,
19+ "마" ,
20+ "거" ,
21+ "너" ,
22+ "더" ,
23+ "러" ,
24+ "머" ,
25+ "버" ,
26+ "서" ,
27+ "어" ,
28+ "저" ,
29+ "고" ,
30+ "노" ,
31+ "도" ,
32+ "로" ,
33+ "모" ,
34+ "보" ,
35+ "소" ,
36+ "오" ,
37+ "조" ,
38+ "구" ,
39+ "누" ,
40+ "두" ,
41+ "루" ,
42+ "무" ,
43+ "부" ,
44+ "수" ,
45+ "우" ,
46+ "주" ,
2147 )
2248
2349 def license_plate (self ) -> str :
2450 pattern = self .random_element (self .license_formats )
25- letters = '' .join (self .letter_codes )
26- return self .numerify (self .lexify (pattern , letters = letters ))
51+ letters = "" .join (self .letter_codes )
52+ return self .numerify (self .lexify (pattern , letters = letters ))
You can’t perform that action at this time.
0 commit comments