Conditions | 3 |
Total Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | class Factory: |
||
7 | def extend(self, object_name, extend_class, parent_class): |
||
8 | if object_name not in self._extend_registry: |
||
9 | self._extend_registry[object_name] = [] |
||
10 | try: |
||
11 | index_of_existent_extend = self._extend_registry[object_name].index(parent_class) |
||
12 | self._extend_registry[object_name][index_of_existent_extend] = extend_class |
||
13 | except ValueError: |
||
14 | self._extend_registry[object_name].append(extend_class) |
||
15 | # try: |
||
36 | return getattr(self.instance, name) |
This check looks for invalid names for a range of different identifiers.
You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements.
If your project includes a Pylint configuration file, the settings contained in that file take precedence.
To find out more about Pylint, please refer to their site.