Plugins/CheckerPlugins/CodeStyleChecker/NamingStyleChecker.py

branch
5_4_x
changeset 3760
2fb8c031a3f0
parent 3645
79b58173f803
equal deleted inserted replaced
3757:8716fa5410b3 3760:2fb8c031a3f0
454 454
455 if moduleName == "__init__": 455 if moduleName == "__init__":
456 # we got a package 456 # we got a package
457 packageName = \ 457 packageName = \
458 os.path.split(os.path.dirname(self.__filename))[1] 458 os.path.split(os.path.dirname(self.__filename))[1]
459 if packageName.lower != packageName: 459 if packageName.lower() != packageName:
460 yield self.__error(node, "N808") 460 yield self.__error(node, "N808")
461 461
462 def __checkImportAs(self, node, parents): 462 def __checkImportAs(self, node, parents):
463 """ 463 """
464 Private method to check that imports don't change the 464 Private method to check that imports don't change the

eric ide

mercurial