diff --git a/alembic.ini b/alembic.ini index 6bc8b36..a59ec2b 100644 --- a/alembic.ini +++ b/alembic.ini @@ -62,11 +62,11 @@ output_encoding = utf-8 # post_write_hooks defines scripts or Python functions that are run # on newly generated revision scripts. See the documentation for further # detail and examples -hooks = black,ruff +hooks = formatter,ruff -black.type = console_scripts -black.entrypoint = black -black.options = -l 99 REVISION_SCRIPT_FILENAME +formatter.type = exec +formatter.executable = ruff +formatter.options = format REVISION_SCRIPT_FILENAME ruff.type = exec ruff.executable = ruff