Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleFixer.py

branch
BgService
changeset 3228
f489068e51e8
parent 3209
c5432abceb25
child 3413
5e63f809732a
equal deleted inserted replaced
3209:c5432abceb25 3228:f489068e51e8
16 import os 16 import os
17 import re 17 import re
18 import sys 18 import sys
19 import tokenize 19 import tokenize
20 20
21 import pep8 21 # CodeStyleCheckerDialog tries to import FixableCodeStyleIssues what fail under
22 # Python3. So ignore it.
23 try:
24 import pep8
25 except ImportError:
26 pass
22 27
23 # Tell 'lupdate' which strings to keep for translation. 28 # Tell 'lupdate' which strings to keep for translation.
24 QT_TRANSLATE_NOOP = lambda mod, txt: txt 29 QT_TRANSLATE_NOOP = lambda mod, txt: txt
25 30
26 FixableCodeStyleIssues = [ 31 FixableCodeStyleIssues = [

eric ide

mercurial