Skip to content
This repository has been archived by the owner on Jan 29, 2024. It is now read-only.

Can we add hooks to lint our alembic.ini files (do we even need to) #262

Open
kjaymiller opened this issue Nov 20, 2023 · 0 comments
Open
Labels
question Further information is requested
Milestone

Comments

@kjaymiller
Copy link
Owner

kjaymiller commented Nov 20, 2023

It may be good to use ruff to lint our alembic.ini

[post_write_hooks]
# post_write_hooks defines scripts or Python functions that are run
# on newly generated revision scripts. See the documentation for further
# detail and examples
# format using "black" - use the console_scripts runner, against the "black" entrypoint
# hooks = black
# black.type = console_scripts
# black.entrypoint = black
# black.options = -l 79 REVISION_SCRIPT_FILENAME

@kjaymiller kjaymiller changed the title Actually use this but with ruff instead of black Can we add hooks to lint our alembic.ini files (do we even need to) Nov 21, 2023
@kjaymiller kjaymiller added the question Further information is requested label Nov 29, 2023
@kjaymiller kjaymiller added this to the V1.1 milestone Nov 29, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant