mirror of
https://github.com/PyCQA/flake8.git
synced 2026-04-06 21:16:54 +00:00
Enable users who want to track all files processed
This adds two new methods to the BaseFormatter class: - beginning - finished These will indicate when Flake8 begins and finishes processing a file. Closes #251
This commit is contained in:
parent
cf0115e105
commit
5248cf3c2d
5 changed files with 35 additions and 2 deletions
|
|
@ -134,6 +134,7 @@ def test_report_order(results, expected_order):
|
|||
file_checker.display_name = 'placeholder'
|
||||
|
||||
style_guide = mock.Mock(spec=['options'])
|
||||
style_guide.processing_file = mock.MagicMock()
|
||||
|
||||
# Create a placeholder manager without arguments or plugins
|
||||
# Just add one custom file checker which just provides the results
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue