Open our output file in append mode always

This avoid overwriting portions of our log output when using Flake8
in verbose mode.

Closes #193
This commit is contained in:
Ian Cordasco 2016-07-29 17:18:47 -05:00
parent 971dcc16f0
commit e93aad6043
No known key found for this signature in database
GPG key ID: 656D3395E4A9791A
3 changed files with 10 additions and 4 deletions

View file

@ -16,12 +16,18 @@
not updated for the current version of flake8. This is nicer than raising a
`PicklingError` about failing to pickle a module (See also `GitLab#164`_)
- Always open our output file in append mode so we do not overwrite log
messages. (See also `GitLab#193`_)
.. links
.. _GitLab#164:
https://gitlab.com/pycqa/flake8/issues/164
.. _GitLab#178:
https://gitlab.com/pycqa/flake8/issues/178
.. _GitLab#193:
https://gitlab.com/pycqa/flake8/issues/193
.. _GitLab#195:
https://gitlab.com/pycqa/flake8/issues/195
.. _this Python bug report:
https://bugs.python.org/issue27649
.. _GitLab#164:
https://gitlab.com/pycqa/flake8/issues/164