Plugins/CheckerPlugins/CodeStyleChecker/NamingStyleChecker.py

branch
5_5_x
changeset 3761
ef8e55285a43
parent 3646
cfbb47b6d885
child 4021
195a471c327b
equal deleted inserted replaced
3759:fd807884e316 3761:ef8e55285a43
406 406
407 if moduleName == "__init__": 407 if moduleName == "__init__":
408 # we got a package 408 # we got a package
409 packageName = \ 409 packageName = \
410 os.path.split(os.path.dirname(self.__filename))[1] 410 os.path.split(os.path.dirname(self.__filename))[1]
411 if packageName.lower != packageName: 411 if packageName.lower() != packageName:
412 yield self.__error(node, "N808") 412 yield self.__error(node, "N808")
413 413
414 def __checkImportAs(self, node, parents): 414 def __checkImportAs(self, node, parents):
415 """ 415 """
416 Private method to check that imports don't change the 416 Private method to check that imports don't change the

eric ide

mercurial