Is your feature request related to a problem? Please describe.
I am running pre-commit as a post-write hook. However, when using command.revision(), the working directory may be outside of my repository, in which case my .pre-commit-config.yaml is not found.
Describe the solution you'd like
In my alembic.ini I want to add the following line under the [post_write_hooks] section
pre-commit.cwd = %(here)s
in order to have a reproducible cwd.
PR incoming...
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I am running pre-commit as a post-write hook. However, when using
command.revision()
, the working directory may be outside of my repository, in which case my.pre-commit-config.yaml
is not found.Describe the solution you'd like
In my
alembic.ini
I want to add the following line under the[post_write_hooks]
sectionpre-commit.cwd = %(here)s
in order to have a reproducible cwd.
PR incoming...
The text was updated successfully, but these errors were encountered: