You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
Uh oh!
There was an error while loading. Please reload this page.
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: