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:
Ian Cordasco 2016-11-18 19:15:18 -06:00
parent cf0115e105
commit 5248cf3c2d
No known key found for this signature in database
GPG key ID: 656D3395E4A9791A
5 changed files with 35 additions and 2 deletions

View file

@ -3,6 +3,9 @@
You can view the `3.3.0 milestone`_ on GitLab for more details.
- Add methods to Report class that will be called when Flake8 starts and
finishes processing a file. (`GitLab#251`_)
- Dramatically improve the performance of Flake8 (`GitLab!156`_)
- Fix problem where hooks should only check \*.py files. (See also
@ -14,6 +17,8 @@ You can view the `3.3.0 milestone`_ on GitLab for more details.
.. links
.. _3.3.0 milestone:
https://gitlab.com/pycqa/flake8/milestones/16
.. _GitLab#251:
https://gitlab.com/pycqa/flake8/issues/251
.. _GitLab#268:
https://gitlab.com/pycqa/flake8/issues/268
.. _GitLab!156: