Bump hooks with "pre-commit autoupdate".
There is an issue with the latest poetry version and the "isort" hook module
https://github.com/PyCQA/isort/issues/2077
Signed-off-by: moson-mo <mo-son@mailbox.org>
We want all python files related to the project to be checked, really.
Some of which are still included, but migrations are a core part of
FastAPI aurweb and should be included.
Signed-off-by: Kevin Morris <kevr@0cost.org>
The reason behind this is to make checking and formatting consistent between
contributors and CI. It is also easier to incorporate new hooks, since many
tools already provides pre-commit hooks
In addition this commit also adds `black` and `autoflake` along with a few
other useful hooks from the `pre-commit-hooks` repository.