Преглед на файлове

PEP8/Pylint on classtypes.py

Roland Haroutiounian преди 9 години
родител
ревизия
20c152c58b
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  1. 4
    4
      EditorialModel/classtypes.py

+ 4
- 4
EditorialModel/classtypes.py Целия файл

8
     PARENT = 'parent'
8
     PARENT = 'parent'
9
     TRANSLATION = 'translation'
9
     TRANSLATION = 'translation'
10
     IDENTITY = 'identity'
10
     IDENTITY = 'identity'
11
-    
11
+
12
     @classmethod
12
     @classmethod
13
     def getall(cls):
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
 ## EmClassType (Class)
17
 ## EmClassType (Class)
80
             },
80
             },
81
         },
81
         },
82
     }
82
     }
83
-    
83
+
84
     @classmethod
84
     @classmethod
85
     def getall(cls):
85
     def getall(cls):
86
-        return [ cls.entity, cls.entry, cls.person ]
86
+        return [cls.entity, cls.entry, cls.person]
87
 
87
 
88
     ## natures (Method)
88
     ## natures (Method)
89
     #
89
     #

Loading…
Отказ
Запис