171 docType, codeComplexityArgs, miscellaneousArgs, errors, eol, |
171 docType, codeComplexityArgs, miscellaneousArgs, errors, eol, |
172 encoding, backup) |
172 encoding, backup) |
173 @type list of (str, str, bool, str, str, bool, int, list of (int, int), |
173 @type list of (str, str, bool, str, str, bool, int, list of (int, int), |
174 bool, str, dict, dict, list of str, str, str, bool) |
174 bool, str, dict, dict, list of str, str, str, bool) |
175 """ |
175 """ |
176 if ( |
176 if (lang is None and PythonUtilities.isPythonSource(filename, source)) or ( |
177 (lang is None and PythonUtilities.isPythonSource(filename, source)) |
177 lang is not None and lang == "Python3" |
178 or (lang is not None and lang == "Python3") |
|
179 ): |
178 ): |
180 data = [source, args] |
179 data = [source, args] |
181 self.backgroundService.enqueueRequest("style", "Python3", filename, data) |
180 self.backgroundService.enqueueRequest("style", "Python3", filename, data) |
182 |
181 |
183 def styleBatchCheck(self, argumentsList): |
182 def styleBatchCheck(self, argumentsList): |