Plugins/CheckerPlugins/CodeStyleChecker/DocStyleChecker.py

branch
6_1_x
changeset 4557
893c9f26a178
parent 4548
5328f0e5d1e5
child 4631
5c1a96925da4
equal deleted inserted replaced
4551:31115c8c20fc 4557:893c9f26a178
9 9
10 # 10 #
11 # The routines of the checker class are modeled after the ones found in 11 # The routines of the checker class are modeled after the ones found in
12 # pep257.py (version 0.2.4). 12 # pep257.py (version 0.2.4).
13 # 13 #
14
15 from __future__ import unicode_literals
16 14
17 try: 15 try:
18 # Python 2 16 # Python 2
19 from StringIO import StringIO # __IGNORE_EXCEPTION__ 17 from StringIO import StringIO # __IGNORE_EXCEPTION__
20 except ImportError: 18 except ImportError:
1280 "D232", 'class') 1278 "D232", 'class')
1281 else: 1279 else:
1282 if firstWord != 'public': 1280 if firstWord != 'public':
1283 self.__error(docstringContext.start() + lineNumber, 0, 1281 self.__error(docstringContext.start() + lineNumber, 0,
1284 "D232", 'public') 1282 "D232", 'public')
1283
1284 #
1285 # eflag: noqa = M702

eric ide

mercurial