Browse Source

code indentation

Bastien Sevajol 6 years ago
parent
commit
cc746b8a28
No account linked to committer's email
1 changed files with 10 additions and 3 deletions
  1. 10 3
      hapic/doc.py

+ 10 - 3
hapic/doc.py View File

23
     'enum',
23
     'enum',
24
 ]
24
 ]
25
 
25
 
26
-FIELDS_TYPE_ARRAY = ['array']
26
+FIELDS_TYPE_ARRAY = [
27
+    'array',
28
+]
27
 FIELDS_PARAMS_ARRAY_ACCEPTED = [
29
 FIELDS_PARAMS_ARRAY_ACCEPTED = [
28
     'items',
30
     'items',
29
     'collectionFormat',
31
     'collectionFormat',
33
     'uniqueitems',
35
     'uniqueitems',
34
 ]
36
 ]
35
 
37
 
36
-FIELDS_TYPE_STRING = ['string']
38
+FIELDS_TYPE_STRING = [
39
+    'string',
40
+]
37
 FIELDS_PARAMS_STRING_ACCEPTED = [
41
 FIELDS_PARAMS_STRING_ACCEPTED = [
38
     'maxLength',
42
     'maxLength',
39
     'minLength',
43
     'minLength',
40
     'pattern',
44
     'pattern',
41
 ]
45
 ]
42
 
46
 
43
-FIELDS_TYPE_NUMERIC = ['number', 'integer']
47
+FIELDS_TYPE_NUMERIC = [
48
+    'number', 
49
+    'integer',
50
+]
44
 FIELDS_PARAMS_NUMERIC_ACCEPTED = [
51
 FIELDS_PARAMS_NUMERIC_ACCEPTED = [
45
     'maximum',
52
     'maximum',
46
     'exclusiveMaximum',
53
     'exclusiveMaximum',