Nice work on this project! I've been looking for something like it for some time.
I'm wondering if the bot could be configured to run pre-commit. That way, it could do more than just format with black.
pre-commit + a GitHub bot would ensure that unformatted code never gets merged, and would take the burden off maintainers and contributors.
In an ideal world, unformatted code never gets committed because pre-commit prevents it. In a realistic world, contributors may forget to install the pre-commit hooks. The black_out bot would be the last resort, making the formatting commit for you.
Nice work on this project! I've been looking for something like it for some time.
I'm wondering if the bot could be configured to run pre-commit. That way, it could do more than just format with black.
pre-commit+ a GitHub bot would ensure that unformatted code never gets merged, and would take the burden off maintainers and contributors.In an ideal world, unformatted code never gets committed because pre-commit prevents it. In a realistic world, contributors may forget to install the pre-commit hooks. The
black_outbot would be the last resort, making the formatting commit for you.