{"library":"poetry-pre-commit-plugin","title":"poetry-pre-commit-plugin","description":"A Poetry plugin that automatically installs pre-commit hooks when they are added to a project. Current version: 0.2.2, compatible with Poetry 2.0.0+. Released occasionally, with maintenance focused on compatibility.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install poetry-pre-commit-plugin"],"cli":null},"imports":["from poetry_pre_commit_plugin.plugin import PoetryPreCommitPlugin"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"# Install the plugin system-wide or in your Poetry environment\n# Then, in your project, ensure pre-commit is configured (.pre-commit-config.yaml)\n# Run: poetry install\n# The plugin will automatically run pre-commit install if hooks are present.\n# No additional code needed.","lang":"python","description":"No code required; the plugin hooks into `poetry install` and `poetry add`.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}