rebased
:+1:
Could we cover this with unit tests, perhaps? By feeding in some bad YAML?
Good idea, I've added the unit tests.
If you use the pytest tmpdir fixture, it will clean up for you (and does the other neat stuff like keeping old ones with rotation).
https://docs.pytest.org/en/latest/tmpdir.html
Nice.
Thanks, completely forgot that we have this built in py.test. I've updated the patch.
:+1: very nice
:+1: here too!
Pull-Request has been merged by ralph