Skip to content

Does not run upon initial poetry install #11

Description

@chiemekae

Hi, I just encountered a potential issue while doing the following steps:

  • I added poetry-pre-commit-plugin to my poetry dependencies in pyproject.toml
  • I ran poetry lock and poetry install and I see this line: - Installing poetry-pre-commit-plugin (0.2.2)
  • It's only upon running poetry install again that I see this:
Installing pre-commit hooks...
pre-commit hooks successfully installed

It's my understanding that this occurs because the plugin must first be installed in order to be activated upon running poetry install, but I'm not sure if this is the expected behavior for folks using this package.

I was hoping to have the initial poetry install run poetry run pre-commit install if appropriate. Is that what is expected? If not, would this be possible?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions