Merge pull request #245 from pre-commit/flush

Add a flush