369 ) |
369 ) |
370 |
370 |
371 def __formatOneFile(self, file): |
371 def __formatOneFile(self, file): |
372 """ |
372 """ |
373 Private method to format the list of files according the configuration. |
373 Private method to format the list of files according the configuration. |
374 |
374 |
375 @param file name of the file to be processed |
375 @param file name of the file to be processed |
376 @type str |
376 @type str |
377 """ |
377 """ |
378 report = BlackReport(self) |
378 report = BlackReport(self) |
379 report.check = self.__config["__action__"] is BlackFormattingAction.Check |
379 report.check = self.__config["__action__"] is BlackFormattingAction.Check |