152 ## adapted from: flake8-alphabetize v0.0.21 |
152 ## adapted from: flake8-alphabetize v0.0.21 |
153 ####################################################################### |
153 ####################################################################### |
154 |
154 |
155 def __checkNameOrder(self): |
155 def __checkNameOrder(self): |
156 """ |
156 """ |
157 Private method to check the order of import statements. |
157 Private method to check the order of import statements and handled exceptions. |
158 """ |
158 """ |
159 from .ImportNode import ImportNode |
159 from .ImportNode import ImportNode |
160 |
160 |
161 errors = [] |
161 errors = [] |
162 imports = [] |
162 imports = [] |