src/eric7/Plugins/CheckerPlugins/CodeStyleChecker/CodeStyleFixer.py

branch
eric7
changeset 10690
fab36645aa7d
parent 10683
779cda568acb
child 11090
f5f5f5803935
equal deleted inserted replaced
10689:3ede487187f2 10690:fab36645aa7d
1716 a message code for the fix, a list of arguments for the 1716 a message code for the fix, a list of arguments for the
1717 message and an ID for a deferred fix 1717 message and an ID for a deferred fix
1718 @rtype tuple of (int, str, list or int, int) 1718 @rtype tuple of (int, str, list or int, int)
1719 """ 1719 """
1720 if apply: 1720 if apply:
1721 multilineStringLines, docStringLines = self.__multilineStringLines() 1721 _multilineStringLines, docStringLines = self.__multilineStringLines()
1722 isDocString = line in docStringLines 1722 isDocString = line in docStringLines
1723 line -= 1 1723 line -= 1
1724 text = self.__source[line] 1724 text = self.__source[line]
1725 if line > 0: 1725 if line > 0:
1726 prevText = self.__source[line - 1] 1726 prevText = self.__source[line - 1]

eric ide

mercurial