Procházet zdrojové kódy

PEP8/Pylint on classtypes.py

Roland Haroutiounian před 9 roky
rodič
revize
20c152c58b
1 změnil soubory, kde provedl 4 přidání a 4 odebrání
  1. 4
    4
      EditorialModel/classtypes.py

+ 4
- 4
EditorialModel/classtypes.py Zobrazit soubor

@@ -8,10 +8,10 @@ class EmNature(object):
8 8
     PARENT = 'parent'
9 9
     TRANSLATION = 'translation'
10 10
     IDENTITY = 'identity'
11
-    
11
+
12 12
     @classmethod
13 13
     def getall(cls):
14
-        return [ cls.PARENT, cls.TRANSLATION, cls.IDENTITY ]
14
+        return [cls.PARENT, cls.TRANSLATION, cls.IDENTITY]
15 15
 
16 16
 
17 17
 ## EmClassType (Class)
@@ -80,10 +80,10 @@ class EmClassType(object):
80 80
             },
81 81
         },
82 82
     }
83
-    
83
+
84 84
     @classmethod
85 85
     def getall(cls):
86
-        return [ cls.entity, cls.entry, cls.person ]
86
+        return [cls.entity, cls.entry, cls.person]
87 87
 
88 88
     ## natures (Method)
89 89
     #

Loading…
Zrušit
Uložit