Plugins/CheckerPlugins/Pep8/Pep8NamingChecker.py

changeset 2905
a1ae4b297bc0
parent 2895
4a44d92757f9
child 2910
cdc56e9d9f12
equal deleted inserted replaced
2904:1da821da961e 2905:a1ae4b297bc0
13 import os 13 import os
14 14
15 from PyQt4.QtCore import QT_TRANSLATE_NOOP, QCoreApplication 15 from PyQt4.QtCore import QT_TRANSLATE_NOOP, QCoreApplication
16 16
17 17
18 # TODO: port this to Py2
19 class Pep8NamingChecker(object): 18 class Pep8NamingChecker(object):
20 """ 19 """
21 Class implementing a checker for PEP-8 naming conventions. 20 Class implementing a checker for PEP-8 naming conventions.
22 """ 21 """
23 LowercaseRegex = re.compile(r"[_a-z][_a-z0-9]*$") 22 LowercaseRegex = re.compile(r"[_a-z][_a-z0-9]*$")

eric ide

mercurial